Need help with this script please!
#1

Hey guys I need help! I doing new gamemode and i very need some help!! So.. I did Derby GameMode and now i did client message to killerid and when some player fall in water and suicide playerid getting killerid's score and money here it is script ! OHHH AND ANOTHER PROBLEM THAT I DONT GET THE SCORE ANYWAYS!!

Код:
public OnPlayerDeath(playerid, killerid, reason)
{
	new currentveh;
    currentveh = GetPlayerVehicleID(playerid);
    DestroyVehicle(currentveh);
   	SetPlayerScore(killerid,GetPlayerScore(playerid)+10);
	SendClientMessage(playerid, 0xFFFFFFFF, "{FF0000}Yay! For killing you got {FFFFFF}+10 Score{FF0000}! LETS KILL MORE!");
	return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)