Which ? (gVar and pVar)
#1

Which should I use for small things

+ Global Var:
Код:
new fcontrol[MAX_PLAYERS];

stock fblabla(playerid){
if(ftest == 0){
fcontrol[playerid] = 1;
}else{
fcontrol[playerid] = 0;
}
+ Player Var:
Код:
stock sblabla(playerid){
if(stest == 1){
SetPVarInt(playerid, "scontrol", 1);
}else{
SetPVarInt(playerid, "scontrol", 0);
}
Reply


Messages In This Thread
Which ? (gVar and pVar) - by ProRakNet - 22.05.2016, 11:23
Re: Which ? (gVar and pVar) - by luke49 - 22.05.2016, 11:31
Re: Which ? (gVar and pVar) - by PT - 22.05.2016, 11:49
Re: Which ? (gVar and pVar) - by iKevin - 22.05.2016, 12:49
Re: Which ? (gVar and pVar) - by Gammix - 22.05.2016, 18:00
Re: Which ? (gVar and pVar) - by ProRakNet - 22.05.2016, 20:14
Re: Which ? (gVar and pVar) - by Konstantinos - 22.05.2016, 20:16
Re: Which ? (gVar and pVar) - by ProRakNet - 22.05.2016, 20:33

Forum Jump:


Users browsing this thread: 5 Guest(s)