help with errors
#7

public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmdtext,"/skydive",true))
{
SetPlayerPos(playerid,-2342.1726,-1176.2717,2145.3945);
GivePlayerWeapon(playerid, 46, 1);
return 1;
}
if(!strcmp(cmdtext, "/cmds", true))
{
SendPlayerFormattedText(playerid,"to spawn a car do /carmenu",0);
SendPlayerFormattedText(playerid,".",0);
SendPlayerFormattedText(playerid,".",0);
SendPlayerFormattedText(playerid,".", 0);
SendPlayerFormattedText(playerid,".", 0);
return 1;
}
return 0;
}
Reply


Messages In This Thread
help with errors - by johnathon956 - 06.04.2010, 12:12
Re: help with errors - by andmeida10 - 06.04.2010, 12:22
Re: help with errors - by johnathon956 - 06.04.2010, 13:30
Re: help with errors - by wafffllesss - 06.04.2010, 13:36
Re: help with errors - by johnathon956 - 06.04.2010, 14:12
Re: help with errors - by dice7 - 06.04.2010, 14:15
Re: help with errors - by Mikep. - 06.04.2010, 14:16

Forum Jump:


Users browsing this thread: 1 Guest(s)