SA-MP Forums Archive
como criar/kill - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: como criar/kill (/showthread.php?tid=175457)



como criar/kill - mascote - 09.09.2010

como criar /kill por que tou criando sv do 0 ae quero por /kill nao sei xD


Re: como criar/kill - zSuYaNw - 09.09.2010

pawn Код:
if(strcmp(cmdtext,"/kill", true) == 0)
{
return 1;
}
pawn Код:
if(strcmp(cmdtext,"/kill", true) == 0)
{
SetPlayerHeath(playerid, 0.0);
return 1;
}



Re: como criar/kill - mascote - 09.09.2010

vlw vc sempre ajudando sou seu fan


Re: como criar/kill - ipsBruno - 09.09.2010

Usa aquilo que Garifield Disse,ou:

Em OnPlayerCommandText
pawn Код:
if(!strcmp(cmdtext,"/kill", true))
{
     SetPlayerHeath(playerid, 0.0);
     return 1;
}