[Ajuda]nitro
#8

Quote:
Originally Posted by ApolloRJ
Посмотреть сообщение
fiz errado? return 1; ele para e nгo faz o que marca a baixo certo ? nгo sou bom como vcs e muitos aee.. + faзo minhas criaзхes tb hehe

Obs: gostei do modo que fez.. o auto tune... sei que existe varias formas.. hehe
Leia oque vocк fez.

pawn Код:
if(!IsPlayerInAnyVehicle(playerid)) return 1;
{
AddVehicleComponent(VehicleID ,1010);
RepairVehicle(VehicleID);
return 1;
}
}
return 1;
}
Vocк checou se o cara estб em um veнculo, se nгo tiver vai retornar 1 e ainda assim vai executar o cуdigo, isso vai dar erro na certa, o correto seria:

pawn Код:
if(IsPlayerInAnyVehicle(playerid))
{
    AddVehicleComponent(VehicleID ,1010);
    RepairVehicle(VehicleID);
    return 1;
}
Reply


Messages In This Thread
[Ajuda]nitro - by viniciusmcf - 17.11.2011, 22:38
Re: [Ajuda]nitro - by ViniBorn - 18.11.2011, 00:00
Re: [Ajuda]nitro - by ApolloRJ - 18.11.2011, 00:01
Re: [Ajuda]nitro - by viniciusmcf - 18.11.2011, 01:11
Re: [Ajuda]nitro - by Lуs - 18.11.2011, 02:40
Re: [Ajuda]nitro - by ApolloRJ - 18.11.2011, 02:40
Re: [Ajuda]nitro - by viniciusmcf - 18.11.2011, 11:24
Re: [Ajuda]nitro - by Lуs - 18.11.2011, 13:56

Forum Jump:


Users browsing this thread: 2 Guest(s)