Quote:
Originally Posted by TheKnown
how do i change it to sizeof(ArmyVeh)?
|
do this ONLY if you know what are you doing, if you wanna check for the whole array use it, if not just use the number.
Quote:
Originally Posted by KillerDVX
pawn Код:
if(GetPlayerClass[playerid] == ARMY_CLASS) { for(new i; i<sizeof(ArmyVeh); i++) { if(vehicleid == ArmyVeh[i]) { ClearAnimations(playerid); GameTextForPlayer(playerid,"Army Vehicle",3000,4); } } }
|