SA-MP Forums Archive
Little HELP - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Little HELP (/showthread.php?tid=232310)



Little HELP - wheelman_WM - 27.02.2011

Код:
public OnPlayerDeath(playerid, killerid, reason)
{
SendDeathMessage(killerid, playerid, reason);
SetPlayerScore(killerid,GetPlayerScore(killerid)+1);
SendClientMessage(killerid, COLOR_GREEN, "You Have Got 500 $ + 150 Rocket Laucher Ammo ");
GivePlayerWeapon(killerid, 35, 150);
SetPlayerPos(killerid,1958.3783,1343.1572,15.3746);
GivePlayerMoney(killerid,500);
GivePlayerMoney(playerid,-500);
SendClientMessage(playerid, COLOR_GREEN, "You Have Been Droped Out From Minigun Madness (Reason : Died)");
SendClientMessage(killerid, COLOR_GREEN,"");
return 1;
}
I want that when player dies that killer get a spawn and get his weapons in reward and there will be a textmessage to all
killerid name has won the minigun madness.


Thnx


Re: Little HELP - wheelman_WM - 27.02.2011

Please Fast anyone Plz


Re: Little HELP - wheelman_WM - 27.02.2011

anyone please correct