02.05.2011, 05:31
ta dano erro
..................
fico assim
e deu os seguintes erros
..................
fico assim
Quote:
if(strcmp("/cv", cmdtext, true) == 0) { new shick[128]; new VeiculosCriados[101]; new VeiculoCriado = 0; if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, 0xF60000AA, "Vocк nгo й Administrador RCON!"); tmp = strtok(cmdtext, idx); if(!strlen(tmp)) return SendClientMessage(playerid, 0xF60000AA, "[-]: /veh [ID] [Cor 1] [Cor 2]"); new veiculo; veiculo = strval(tmp); if(veiculo < 400 || veiculo > 600) return SendClientMessage(playerid, 0xF60000AA, "[ERRO] O modelo do veнculo tem de estar entre 411 e 611!"); tmp = strtok(cmdtext, idx); if(!strlen(tmp)) return SendClientMessage(playerid, 0xF60000AA, "[-]: /veh [ID] [Cor 1] [Cor 2]"); new Cor1; Cor1 = strval(tmp); if(Cor1 < 1 || Cor1 > 300) return SendClientMessage(playerid, 0xF60000AA, "[ERRO] A Cor tem de estar entre 1 e 300!"); tmp = strtok(cmdtext, idx); if(!strlen(tmp)) return SendClientMessage(playerid, 0xF60000AA, "[-]: /veh [ID] [Cor 1] [Cor 2]"); new Cor2; Cor2 = strval(tmp); if(Cor2 < 1 || Cor2 > 300) return SendClientMessage(playerid, 0xF60000AA, "[ERRO] A Cor tem de estar entre 1 e 300!"); new Float:X,Float:Y,Float:Z; GetPlayerPos(playerid, X,Y,Z); new veiculo1 = CreateVehicle(car, X,Y,Z, 0.0, Cor1, Cor2, 120000); VeiculosCriados[VeiculoCriado] = veiculo1; VeiculoCriado++; format(shick, sizeof(shick), "[ATENЗГO] Veнculo ID: %d Adicionado", veiculo1); SendClientMessage(playerid, 0x00AB00AA, shick); return 1; } |
Quote:
C:\Documents and Settings\William_2\Meus documentos\Downloads\Iniciante\gamemodes\Iniciante .pwn(385) : error 017: undefined symbol "tmp" C:\Documents and Settings\William_2\Meus documentos\Downloads\Iniciante\gamemodes\Iniciante .pwn(385) : error 017: undefined symbol "strtok" C:\Documents and Settings\William_2\Meus documentos\Downloads\Iniciante\gamemodes\Iniciante .pwn(386) : error 017: undefined symbol "tmp" C:\Documents and Settings\William_2\Meus documentos\Downloads\Iniciante\gamemodes\Iniciante .pwn(38 : error 017: undefined symbol "tmp" C:\Documents and Settings\William_2\Meus documentos\Downloads\Iniciante\gamemodes\Iniciante .pwn(390) : error 017: undefined symbol "tmp" C:\Documents and Settings\William_2\Meus documentos\Downloads\Iniciante\gamemodes\Iniciante .pwn(390) : error 017: undefined symbol "strtok" C:\Documents and Settings\William_2\Meus documentos\Downloads\Iniciante\gamemodes\Iniciante .pwn(391) : error 017: undefined symbol "tmp" C:\Documents and Settings\William_2\Meus documentos\Downloads\Iniciante\gamemodes\Iniciante .pwn(393) : error 017: undefined symbol "tmp" C:\Documents and Settings\William_2\Meus documentos\Downloads\Iniciante\gamemodes\Iniciante .pwn(395) : error 017: undefined symbol "tmp" C:\Documents and Settings\William_2\Meus documentos\Downloads\Iniciante\gamemodes\Iniciante .pwn(395) : error 017: undefined symbol "strtok" C:\Documents and Settings\William_2\Meus documentos\Downloads\Iniciante\gamemodes\Iniciante .pwn(396) : error 017: undefined symbol "tmp" C:\Documents and Settings\William_2\Meus documentos\Downloads\Iniciante\gamemodes\Iniciante .pwn(39 : error 017: undefined symbol "tmp" C:\Documents and Settings\William_2\Meus documentos\Downloads\Iniciante\gamemodes\Iniciante .pwn(402) : error 017: undefined symbol "car" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 13 Errors. |