SA-MP Forums Archive
Fast help , easy problem , i rep !!! FAST . !!!!!! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Fast help , easy problem , i rep !!! FAST . !!!!!! (/showthread.php?tid=548786)



Fast help , easy problem , i rep !!! FAST . !!!!!! - buburuzu19 - 02.12.2014

Fixxed.!
Vince REP+


Re: Fast help , easy problem , i rep !!! FAST . !!!!!! - buburuzu19 - 02.12.2014

Anyone ?


Re: Fast help , easy problem , i rep !!! FAST . !!!!!! - Vince - 02.12.2014

Never return inside a loop! I need to say this again and again. You can't possibly know if the player isn't in range before having checked all of them.


Re: Fast help , easy problem , i rep !!! FAST . !!!!!! - buburuzu19 - 02.12.2014

So i should remove the "else return SCM(playerid, -1, "You are too far away from the TrashMaster!");" ?


Re: Fast help , easy problem , i rep !!! FAST . !!!!!! - UltraScripter - 02.12.2014

try
pawn Код:
else
{
    SCM(playerid, -1, "You are too far away from the TrashMaster!");
}



Re: Fast help , easy problem , i rep !!! FAST . !!!!!! - Vince - 02.12.2014

And you thank me by removing your original question. Remind me to never reply to your topics again. Okay?


Re: Fast help , easy problem , i rep !!! FAST . !!!!!! - AnthonyTimmers - 02.12.2014

Quote:
Originally Posted by Vince
Посмотреть сообщение
And you thank me by removing your original question. Remind me to never reply to your topics again. Okay?
+1

To the OP: Never remove your post after it is fixed, this way people with similar problems can still find a possible solution from your topic


Re: Fast help , easy problem , i rep !!! FAST . !!!!!! - dominik523 - 02.12.2014

I can't understand why your topics are named like "easy problem", and "rep +" all the time? If they are easy, why don't you solve them?
Please write normal, descriptive names next time.