22.05.2009, 13:32
Quote:
Originally Posted by OmeRinG
Quote:
And littleman, give us your OnPlayerConnect, OnPlayerSpawn, or any line that has SetPlayerHealth in it. |
Код:
public OnPlayerConnect(playerid) { GivePlayerMoney(playerid, 300); SendClientMessage(playerid,0xFFFF00AA,"[ .::. The King of Streets .::. ]"); SendClientMessage(playerid,0x800080AA,"The Streets RPG v1.0 Beta"); new pName[MAX_PLAYER_NAME]; new string[48]; GetPlayerName(playerid, pName, sizeof(pName)); format(string, sizeof(string), "%s has joined The Streets. (Joined)", pName); SendClientMessageToAll(0x33AA33AA, string); return 1; }
Код:
public OnPlayerSpawn(playerid) { PlayerPlaySound(playerid,1188,0,0,0); SetNameTagDrawDistance(5.0); return 1; }
Код:
public OnPlayerDeath(playerid, killerid, reason) { SendDeathMessage(killerid, playerid, reason); return 1; }