Недавнее содержимое от Kilowog01

  1. K

    [Another simple code that doesn't work]Check if player is near coordinate

    Even if i delete the calling it keeps crashing {$CLEO .cs} 0000: REPEAT WAIT 0 UNTIL 0AFA: SAMP_IS_READY 056D: actor $PLAYER_ACTOR defined 0B34: "CONTRABANDO" @ativacao WHILE TRUE wait 0 if 0@ == 1 then 0AB5: store_actor $PLAYER_ACTOR closest_vehicle_to 9@ closest_ped_to 10@...
  2. K

    [Another simple code that doesn't work]Check if player is near coordinate

    I changed this part and the game crashes anyway. {$CLEO .cs} 0000: REPEAT WAIT 0 UNTIL 0AFA: SAMP_IS_READY 0B34: "CONTRABANDO" @ativacao WHILE TRUE wait 0 if 0@ == 1 then 0AB1: @ativacao2 0 end END :ativacao 0B12: 0@ = 0@ XOR 1 if 0@ == 1 then 0AF8: "{FF0000}CLEO:{FFFFFF} CB Ativado!"...
  3. K

    [Another simple code that doesn't work]Check if player is near coordinate

    I did not know how to demand that the samp is ready and the player is chosen to start the script so I did ativacao2 When I type /contrabando the game crashes I want it to check if any player(admin or not) is near the future coordinate that i will spawn, if yes, then stop the code, else...spawn...
  4. K

    [SA:MP][Cleo] Plugin that would set other players animations.

    Try opening the code of some hack that interacts with the id of other players. Take this part and try together with the animation you want, probably will work.
  5. K

    I can not even make a simple code of 13 lines

    Thank you guys, now my code works <3 {$CLEO .cs} 0000: REPEAT WAIT 0 UNTIL 0AFA: SAMP_IS_READY :script WAIT 299000 ms 0209: 17@ = random_int_in_ranges 200 600 0AF9: "/Online %d" 17@ jump @script 0AB2: 0 0B43:
  6. K

    I can not even make a simple code of 13 lines

    I'm starting to learn how to make scripts, after many problems I decided to dry my code, making it as simple as i can. And yet I ran into a problem. I want to make an anti-afk to enter / Online + a random value between 200 and 600 (to pass the anti-flood) but I get errors and the game crashes...