Command
#2

new VehicleGod[MAX_PLAYERS]; // on top of gamemode

if(strcmp(cmdtext, "/test", true)==0) // in onplayercommand
{
if(VehicleGod[playerid] == 0)
{
VehicleGod[playerid] = 1;
// Here you fuction set vehicle god on

}
else
{
VehicleGod[playerid] = 0;
// Here you fuction (set vehicle god off)

}

}
Reply


Messages In This Thread
Command - by XxerykxX - 05.11.2010, 18:18
Re: Command - by KaleOtter - 05.11.2010, 20:05
Re: Command - by XxerykxX - 05.11.2010, 23:11
Re: Command - by blackwave - 06.11.2010, 00:38

Forum Jump:


Users browsing this thread: 1 Guest(s)