30.04.2012, 16:19
pawn Код:
new Text:patrick;
public OnGameModeInit()
{
patrick = TextDrawCreate(167, 456, "/report [id] motivo");
TextDrawFont(patrick , 0);
TextDrawLetterSize(patrick , 1, 7);
TextDrawColor(patrick , 0x780729FF);
TextDrawSetOutline(patrick , 0);
TextDrawSetProportional(patrick , 1);
TextDrawSetShadow(patrick , 1);
for(new i; i < MAX_PLAYERS; i ++)
{
if(IsPlayerConnected(i))
{
TextDrawShowForPlayer(i, patrick);
}
}
return 1;
}
pawn Код:
TextDrawShowForPlayer(playerid, patrick);