27.07.2015, 04:34
Assim
PHP код:
public info(playerid)
{
new STR[128], str2[128], str3[128], str4[128], str5[128];
format(STR, sizeof(STR), "~b~Matou:~w~ %d", pInfo[playerid][Matou]);
PlayerTextDrawSetString(playerid, INFO[2][playerid], STR);
PlayerTextDrawShow(playerid, Info[2][playerid]);//atualizou
format(str3, sizeof(str3), "~b~Morreu:~w~ %d", pInfo[playerid][Morreu]);
PlayerTextDrawSetString(playerid, INFO[3][playerid], str3);
PlayerTextDrawShow(playerid, Info[3][playerid]);//atualizou
format(str2, sizeof(str2), "~b~Score:~w~ %d",GetPlayerScore(playerid));
PlayerTextDrawSetString(playerid, INFO[5][playerid], str2);
PlayerTextDrawShow(playerid, Info[5][playerid]);//atualizou
format(str4, sizeof(str4), "~b~Nick:~w~ %s",PlayerName(playerid));
PlayerTextDrawSetString(playerid, INFO[6][playerid], str4);
PlayerTextDrawShow(playerid, Info[6][playerid]);//atualizou
format(str5, sizeof(str5), "Seje Bem Vindo Ao Servidor ~b~%s ~w~Para Algumas Informaзoes Use /regras & /comandos", PlayerName(playerid));
PlayerTextDrawSetString(playerid, Tela_LoginNome[playerid], str5);
return 1;
}