21.04.2017, 00:24
(
Последний раз редактировалось NATANGameron; 21.04.2017 в 01:06.
)
@RESOLVIDO
new tmp = strtok(cmd, idx); new vehid = CreateVehicle(veiculo, x, y, z, a, cor1, cor2, -1); new vNome Desta forma jб estou colocando direto com o cуdigo mas se preferir pode colocar sу o que estб antes do = ex: new tmp; new vehid;
ptmp, |
CMD:criarveiculo(playerid, params[])
{
new Float:x, Float:y, Float:z, Float:a ,vehid, cor1,cor2;
if(pAdmin[playerid] > 0) return 1;
if(sscanf(params, "ddd", vehid, cor1, cor2)) return 1;
GetPlayerPos(playerid, x, y, z);
GetPlayerFacingAngle(playerid, a);
vehid = CreateVehicle(veiculo, x, y, z, a, cor1, cor2, -1);
LinkVehicleToInterior(vehid, GetPlayerInterior(playerid));
PutPlayerInVehicle(playerid, vehid, 0);
PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
format(string, sizeof(string), "Veнculo %s criado com sucesso! {FF1E1E}(APУS USAR, NГO ESQUEЗA DE EXCLUIR! - /dv)", vNome[GetVehicleModel(vehid) - 400]);
SendClientMessage(playerid, 0x1E90FFAA, string);
return 1;
}
Acho que vai dar certo quando da isso cmg resolvo assim quase sempre da certo
vai em enum pInfo ai la voce vai botar e compila e diz pra mim se deu certo |
C:\Users\Natan\Desktop\Servidor\gamemodes\GM.pwn(17469) : error 017: undefined symbol "tmp" C:\Users\Natan\Desktop\Servidor\gamemodes\GM.pwn(17469) : error 017: undefined symbol "idx" C:\Users\Natan\Desktop\Servidor\gamemodes\GM.pwn(17470) : error 017: undefined symbol "tmp" C:\Users\Natan\Desktop\Servidor\gamemodes\GM.pwn(17476) : error 017: undefined symbol "tmp" C:\Users\Natan\Desktop\Servidor\gamemodes\GM.pwn(17480) : error 017: undefined symbol "tmp" C:\Users\Natan\Desktop\Servidor\gamemodes\GM.pwn(17487) : error 017: undefined symbol "tmp" C:\Users\Natan\Desktop\Servidor\gamemodes\GM.pwn(17487) : error 017: undefined symbol "cmd" C:\Users\Natan\Desktop\Servidor\gamemodes\GM.pwn(17488) : error 017: undefined symbol "tmp" C:\Users\Natan\Desktop\Servidor\gamemodes\GM.pwn(17494) : error 017: undefined symbol "tmp" C:\Users\Natan\Desktop\Servidor\gamemodes\GM.pwn(17496) : error 017: undefined symbol "tmp" C:\Users\Natan\Desktop\Servidor\gamemodes\GM.pwn(17496) : error 017: undefined symbol "cmd" C:\Users\Natan\Desktop\Servidor\gamemodes\GM.pwn(17497) : error 017: undefined symbol "tmp" C:\Users\Natan\Desktop\Servidor\gamemodes\GM.pwn(17503) : error 017: undefined symbol "tmp" C:\Users\Natan\Desktop\Servidor\gamemodes\GM.pwn(17510) : error 017: undefined symbol "vehid" C:\Users\Natan\Desktop\Servidor\gamemodes\GM.pwn(17511) : error 017: undefined symbol "vehid" C:\Users\Natan\Desktop\Servidor\gamemodes\GM.pwn(17512) : error 017: undefined symbol "vehid" C:\Users\Natan\Desktop\Servidor\gamemodes\GM.pwn(17514) : error 017: undefined symbol "string" C:\Users\Natan\Desktop\Servidor\gamemodes\GM.pwn(17514) : error 017: undefined symbol "string" C:\Users\Natan\Desktop\Servidor\gamemodes\GM.pwn(17514) : error 017: undefined symbol "vehid" C:\Users\Natan\Desktop\Servidor\gamemodes\GM.pwn(17514) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 20 Errors.