SA-MP Forums Archive
/kill - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: /kill (/showthread.php?tid=334749)



/kill - oscar7610 - 15.04.2012

I dont have /kill command but the player still dies after /kill.

What I have.

public OnPlayerDeath(playerid, killerid, reason)
{

GivePlayerMoney(killerid, 500);
GivePlayerMoney(playerid, -500);
GameTextForPlayer(killerid, "~r~+500", 1000, 1);
GameTextForPlayer(playerid, "~r~-500", 1000, 1);
SetPlayerScore(playerid, GetPlayerScore( playerid ) -1 );
SetPlayerScore(killerid, GetPlayerScore( killerid ) +1 );

return 1;
}


public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/ehelp", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid,0xFF0000FF,"Bla Bla bla");

return 1;
}
if (strcmp("/nondmarea", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid,0xFF0000FF,"Bla Bla bla");
}
if (strcmp("/exitarea", cmdtext, true, 10) == 0)
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,2021.4049,1341.7511,10.8130) ;
return 1;
}

return 0;
}


Re: /kill - park4bmx - 15.04.2012

Check othe filterscripts !
Or in some case includes


Re: /kill - oscar7610 - 15.04.2012

Quote:
Originally Posted by park4bmx
Посмотреть сообщение
Check othe filterscripts !
Or in some case includes
Thanks man! +rep


Re: /kill - oscar7610 - 15.04.2012

Listen how can I make a simple team? like italian mafia,russian mafia, with colors? like

GameTextForPlayer(playerid, "~r~Italian Mafia", 2500, 3); for 126,127 skins


Re: /kill - sniperwars - 15.04.2012

If you want some help, you can PM me..