05.04.2017, 17:26
Se vocк for usa-las mesmo sу quero meus Crйditos <Stone> Perdi 15 minutos da minha vida pra te ajudar!
Se der algum erro me notifique.
Se der algum erro me notifique.
Код:
#include <a_samp> new PlayerText:pNome[MAX_PLAYERS]; //TOPO new Name; new Jogador[MAX_PLAYERS]; forward PlayerTexT(playerid); public OnGameModeInit() { SetGameModeText("Feito Por Sr.Stone"); Name = SetTimer("PlayerTexT",1000,true); return 1; } public OnPlayerConnect(playerid) { pNome[playerid] = CreatePlayerTextDraw(playerid, 517.599975, 100.706604, "Nome:");//ignore PlayerTextDrawLetterSize(playerid, pNome[playerid], 0.300000, 1.3000); PlayerTextDrawAlignment(playerid, pNome[playerid], 1); PlayerTextDrawColor(playerid, pNome[playerid], -1); PlayerTextDrawSetShadow(playerid, pNome[playerid], 0); PlayerTextDrawSetOutline(playerid, pNome[playerid], 1); PlayerTextDrawBackgroundColor(playerid, pNome[playerid], 51); PlayerTextDrawFont(playerid, pNome[playerid], 3); PlayerTextDrawSetProportional(playerid, pNome[playerid], 1); return 1; } public OnPlayerDisconnect(playerid, reason) { KillTimer(Name); return 1; } public OnPlayerSpawn(playerid) { PlayerTextDrawShow(playerid, PlayerText:pNome[playerid]); return 1; } public PlayerTexT(playerid) { new Processo[128]; GetPlayerName(playerid, Jogador, 23); format(Processo, sizeof(Processo), "~g~%s", Jogador); PlayerTextDrawSetString(playerid, pNome[playerid], Processo); return 1; }
Night OF Crime