21.07.2015, 21:00
Estб errado: PlayerTextDrawShow(playerid, INFO[2][playerid]);
Use: PlayerTextDrawShow(playerid, PlayerText:INFO[2][playerid]);
Tenta ae
Use: PlayerTextDrawShow(playerid, PlayerText:INFO[2][playerid]);
Tenta ae
PHP код:
// TOPO DA GM
forward info(playerid);
// OnGameModeInit
SetTimer("info",1000,1);
// OnPlayerConnect
INFO[2][playerid] = CreatePlayerTextDraw(playerid,510.000000, 360.000000, "--");
PlayerTextDrawBackgroundColor(playerid,INFO[2][playerid], 255);
PlayerTextDrawFont(playerid,INFO[2][playerid], 1);
PlayerTextDrawLetterSize(playerid,INFO[2][playerid], 0.500000, 1.000000);
PlayerTextDrawColor(playerid,INFO[2][playerid], -1);
PlayerTextDrawSetOutline(playerid,INFO[2][playerid], 0);
PlayerTextDrawSetProportional(playerid,INFO[2][playerid], 1);
PlayerTextDrawSetShadow(playerid,INFO[2][playerid], 1);
PlayerTextDrawSetSelectable(playerid,INFO[2][playerid], 0);
// OnPlayerSpawn
PlayerTextDrawShow(playerid, PlayerText:INFO[2][playerid]);
// Public Criada
public info(playerid)
{
new str[128];
format(str, sizeof(str), "~b~Matou:~w~ %s",DOF2::GetInt(String, "Matou"));
PlayerTextDrawSetString(playerid, INFO[2][playerid], str);
}