31.05.2015, 13:20
Agora Ta dando esses erros
linha
Quote:
C:\Users\carlos\Desktop\samp037_svr_R1_win32\gamem odes\Untitled.pwn(95) : error 017: undefined symbol "TAXISTA" C:\Users\carlos\Desktop\samp037_svr_R1_win32\gamem odes\Untitled.pwn(106) : warning 209: function "OnPlayerCommandText" should return a value |
Quote:
public OnPlayerCommandText(playerid, cmdtext[]) if(strcmp(cmdtext,"/minhaprofissao", true) == 0) { if(PlayerInfo[playerid][Profissao] == TAXISTA) { SendClientMessage(playerid,0xFFFF00FF,"Ola parabens voce й taxista e dirigi um taxi"); } else { SendClientMessage(playerid,0xFFFF00FF,"Vocк nгo й taxista e nгo pode usar este comando"); } return 1; } |