public OnPlayerDeath(playerid, killerid, reason) { GameTextForPlayer(playerid, "You Died", 5000, 2); return 1; } |
new Text:TextWelcome; public OnGameModeInit() { TextWelcome = TextDrawCreate(240.0,580.0,"Welcome to Forum SA:MP"); return 1; } public OnPlayerConnect(playerid) { TextDrawShowForPlayer(playerid,TextWelcome); } |