SA-MP Forums Archive
Help with another command.. - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help with another command.. (/showthread.php?tid=268420)



Help with another command.. - R3G1ST3R - 12.07.2011

Код:
CMD:medicduty(playerid,params[])
	{
	    if(IsPlayerInRangeOfPoint(playerid, 7.5,665.0081,-1304.3269,13.4609))
	    {
	        SetPlayerHealth(playerid, 100);
	        SetPlayerArmour(playerid, 100);
	        SetPlayerSkin(playerid, 70);
			return 1;
			}
			return 0;
 }
Problem is I get ingame, go to the cords, and it doesnt work.. I get no PAWN errors.

EDIT-Fixed it