/kill issue.
#6

pawn Код:
GivePlayerMoney(playerid,-350");
Without the "
pawn Код:
GivePlayerMoney(playerid,-350);
About the kill command:

pawn Код:
forward Kill(playerid);
forward Hospital(playerid);
public Kill(playerid)
{
SetPlayerHealth(playerid,0);
SetTimerEx("Hospital", 5000, 0,"e",playerid);
return 1;
}
public Hospital(playerid)
{
SetPlayerPos(playerid,pos);
return 1;
}
if(strcmp(cmdtext,"/kill",true)==0)
{
Kill(playerid);
return 1;
}
Should work!
Reply


Messages In This Thread
/kill issue. - by TKZ227 - 25.04.2010, 17:38
Re: /kill issue. - by IamNotKoolllll - 25.04.2010, 17:44
Re: /kill issue. - by TKZ227 - 25.04.2010, 17:46
Re: /kill issue. - by Las Venturas CNR - 25.04.2010, 17:50
Re: /kill issue. - by TKZ227 - 25.04.2010, 18:01
Re: /kill issue. - by [MWR]Blood - 25.04.2010, 18:02
Re: /kill issue. - by TKZ227 - 25.04.2010, 18:04
Re: /kill issue. - by Luka P. - 25.04.2010, 18:14

Forum Jump:


Users browsing this thread: 1 Guest(s)