12.05.2010, 16:43
Well i have seen many Stunt Servers with these entering msg:
Can Some one give me the code!!!
Can Some one give me the code!!!
SendDeathMessage
Originally Posted by DarkPhoenix
You need to use
pawn Код:
|
Originally Posted by ChillaX
Quote:
i have when you connect, it shows your name and a AK-47, i want it to look like this!! |
new playercash; if(killerid == INVALID_PLAYER_ID) { ResetPlayerMoney(playerid); } else { SendDeathMessage(killerid,playerid,reason); SetPlayerScore(killerid,GetPlayerScore(killerid)+1); playercash = GetPlayerMoney(playerid); if (playercash > 0) { GivePlayerMoney(killerid, playercash); ResetPlayerMoney(playerid); } else { } }
//Connect icon in DeathStats from ******
public OnPlayerConnect(playerid)
{
SendDeathMessage(playerid, INVALID_PLAYER_ID, 200);
return 1;
}
//Disconnect icon in DeathStats from ******
public OnPlayerDisconnect(playerid)
{
SendDeathMessage(INVALID_PLAYER_ID, playerid, 201);
}
Originally Posted by Zimon95
Search, in Gamemodes section there's a topic called "Useful snippets"
pawn Код:
|