Empty array
#8

pawn Код:
if(Grass[i] != 0 && IsPlayerInRangeOfPoint(...))
or

pawn Код:
if(GetPlayerObjectPos(playerid, Grass[i], x, y, z) && IsPlayerInRangeOfPoint(...))
propably first code is better and if you want something for player it should be

Grass[playerid][i]

because if few players use /as there will be fun
Reply


Messages In This Thread
Empty array - by Cyber123 - 30.01.2019, 13:02
Re: Empty array - by Kaliber - 30.01.2019, 13:28
Re: Empty array - by Cyber123 - 30.01.2019, 13:48
Re: Empty array - by Pottus - 30.01.2019, 15:25
Re: Empty array - by Mobtiesgangsa - 30.01.2019, 17:17
Re: Empty array - by Cyber123 - 30.01.2019, 18:21
Re: Empty array - by Cyber123 - 30.01.2019, 20:43
Re: Empty array - by Jefff - 31.01.2019, 00:15
Re: Empty array - by Cyber123 - 31.01.2019, 13:04
Re: Empty array - by Cyber123 - 31.01.2019, 14:23

Forum Jump:


Users browsing this thread: 2 Guest(s)