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


Messages In This Thread
is this right ? plz help - by andrewgrob - 10.02.2012, 04:51
Re: is this right ? plz help - by [ABK]Antonio - 10.02.2012, 06:14
Re: is this right ? plz help - by Chrillzen - 10.02.2012, 08:05
Re: is this right ? plz help - by andrewgrob - 11.02.2012, 05:02

Forum Jump:


Users browsing this thread: 1 Guest(s)