is this right ? plz help
#1

public OnPlayerDeath(playerid, killerid, reason)
{
SendDeathMessage(killerid, playerid, reason);
SetPlayerScore(playerid, GetPlayerScore(playerid)-1);
if(killerid != INVALID_PLAYER_ID)
{
SetPlayerScore(killerid, GetPlayerScore(killerid)+1);
GivePlayerMoney(killerid, 10000);
GivePlayerWeapon(killerid, 16, 2);
SendClientMessage(killerid, 0xFF0000AA, "You Get 10,000 Cash & 2 Grenades");
}


will it give the killer 10,000 cash and 2 grenades.

its because i carnt test it without another player

thank you people
Reply
#2

yes it will
Reply
#3

Use my killingspree script
Reply
#4

thank you people
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)