22.05.2016, 20:14
Quote:
What's the point here in making a choice between PVar or variables ?
You only use PVars when you want to access the value of that specific variable in other scripts. (e.g. My admin level is 5, so i need to check if i am admin as well in a seperate filterscript, so i'll make use of PVars). |
Код:
if(GetPVarInt(playerid,"spawncmd") == 1) return SendClientMessage(playerid,-1,"You did not spawn");
Код:
if(spawncmd[playerid] == 1) return SendClientMessage(playerid,-1,"You did not spawn");