28.12.2013, 17:08
(
Последний раз редактировалось aaleks123; 28.12.2013 в 17:40.
Причина: Fixed.
)
FIXED
Hey everyone,
Im pretty much stumped on IsPlayerLogged for my commands.
I put in this stock to make it actually work which I found somewhere else!
EX:
What am I supposed to put in for "YourVariable" ?
Trying to make this command with this stock.
Ex:
ERRORS:
Thanks!
Hey everyone,
Im pretty much stumped on IsPlayerLogged for my commands.
I put in this stock to make it actually work which I found somewhere else!
EX:
Код:
stock IsPlayerLoggedIn(playerid) { if(YourVariable[Logged] == 1) return 1; else if(YourVariable[Logged] == 0) return 0; }
Trying to make this command with this stock.
Ex:
Код:
CMD:backpack(playerid, params[]) { if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GRAD1,"You have to be logged in to use that command!"); SetPlayerAttachedObject(playerid, 1, 363, 1, 0.300000, -0.14,0.2, 0.000000, 90, 359.5022,1,1,1); return 1; }
Код:
error 017: undefined symbol "YourVariable" error 017: undefined symbol "Logged" error 029: invalid expression, assumed zero