18.02.2015, 02:28
hey, i've problem, How to make it to be a variable?
Ex
Nothing Happned! :/ sorry i'm new on scripting
Ex
Код:
//in gamemode CMD:dm(playerid, params[]) { SetPVarInt(playerid,"InDM",1); SendClientMessage(playerid, 0xFFFFFFFF, "You are in DM"); return 1; }
Код:
//in Filterscript CMD:car(playerid, params[]) { GetPVarInt(playerid, "InDM"); SendClientMessage(playerid, 0xFFFFFFFF, "you can't use cars when in DM"); return 1; }