15.01.2014, 20:38
O GuilhermeH falou pra eu pegar e adaptar as funзхes no meu comando, ai eu fiz oque ele falou, porйm nгo deu, meu cmd ficou assim:
----------------------------------------------------------------------------------------------------------
Eu coloquei esse comando, porйm deu os seguintes erros:
PS: coloquei a linha no quote
pawn Код:
CMD:v(playerid, params[])
{
static carro, Float:X, Float:Y, Float:Z, xCor, xCor2, Float:Angle;
if(PlayerInMiniGame[playerid] != MINIGAME_NONE) return SendClientMessage(playerid, 0xFF4500FF, "Estб em um minijogo, use /sair");
if(IsPlayerInRace) return SendClientMessage(playerid, 0xFF4500FF, "Estб em uma corrida, use /exitrace");
ShowTextDrawDialog(playerid, DIALOG_VID, "ISSOeGTA FR 2013x .. Veiculos", "Ok", "Cancelar", "\
Esportivos e elegantes", "Motos e Bicicletas", "Caminhonetes", "Avioes e Helicopteros", "Aquaticos", "Servico publico", "Industriais", "Carros variados", "Caminhoes", "Veiculos unicos", "Veiculos RC");
if(xCarroCriado[playerid] != 0) DestroyVehicle(xCarroCriado[playerid]);
GetPlayerPos(playerid, X, Y, Z);
GetPlayerFacingAngle(playerid, Angle);
xCarroCriado[playerid] = AddStaticVehicleEx(carro, X, Y, Z, Angle, xCor, xCor2, -1);
PutPlayerInVehicle(playerid, xCarroCriado[playerid], 0);
return 1;
}
Quote:
PHP код:
|
Код:
C:\Users\GUILHERME\Downloads\ISSOeGTA FreeRoam\gamemodes\IEGTA.pwn(18362) : error 017: undefined symbol "Pos" C:\Users\GUILHERME\Downloads\ISSOeGTA FreeRoam\gamemodes\IEGTA.pwn(18362) : warning 215: expression has no effect C:\Users\GUILHERME\Downloads\ISSOeGTA FreeRoam\gamemodes\IEGTA.pwn(18362) : error 001: expected token: ";", but found "]" C:\Users\GUILHERME\Downloads\ISSOeGTA FreeRoam\gamemodes\IEGTA.pwn(18362) : error 029: invalid expression, assumed zero C:\Users\GUILHERME\Downloads\ISSOeGTA FreeRoam\gamemodes\IEGTA.pwn(18362) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.