29.09.2011, 16:44
actually i am using 0Admin so plz edit it for 0Admin can i put it on 0Admin
Example of one 0Admin command
==>
Example of one 0Admin command
==>
Code:
CMD:cargod(PARAMS)
{
LoginCheck(playerid);
LevelCheck(playerid, 1);
switch(P_DATA[playerid][CarGod])
{
case false:
{
P_DATA[playerid][CarGod] = 1;
SetPVarInt(playerid, "0_CarGod", 1);
SendClientMessage(playerid, Color:GREY, "Vehicle God has been activated!");
}
case true:
{
P_DATA[playerid][CarGod] = 0;
SetPVarInt(playerid, "0_CarGod", 0);
SendClientMessage(playerid, Color:GREY, "Vehicle God has been deactivated!");
}
}
return 1;
}

