30.08.2011, 14:09
Ai Galera TO Criando Um Text Draw. e Ta Dando Um Erro:
Public:
Espero Que Me Ajudem
Quote:
D:\Usuarios\Documentos\Servidor SAMP [HS]\filterscripts\relogio.pwn(26) : error 017: undefined symbol "playerid" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error. |
Quote:
public UpdateTime() { format(score, sizeof(score), "Score: %i",GetPlayerScore(playerid));//Linha Com o Erro! TextDrawSetString(tdscore,score); gettime(hour, minute); format(timestr,32,"%02d:%02d",hour,minute); TextDrawSetString(txtTimeDisp,timestr); SetWorldTime(hour); new x=0; while(x!=MAX_PLAYERS) { if(IsPlayerConnected(x) && GetPlayerState(x) != PLAYER_STATE_NONE) { SetPlayerTime(x,hour,minute); } x++; } } |