Floats +REP
#3

Thanks, does not work, Perhaps this evil my code .

PHP код:

CMD
:front(playeridparams[])
{
    new 
Float:pos[4], Float:fXFloat:fZ;
    
GetVehiclePos(GetPlayerVehicleID(playerid), pos[0], pos[1], pos[2]);
    
GetVehicleModelInfo(GetPlayerVehicleID(playerid), VEHICLE_MODEL_INFO_SIZEfXpos[3], fZ);
    
GetXYInFrontOfVehicle(GetPlayerVehicleID(playerid), pos[0], pos[1], pos[3]);
    
CreateVehicle(411pos[0], pos[1], pos[2], pos[3], random(126), random(126), (60*60), 0);
    return 
true;
}
CMD:behind(playeridparams[])
{
    new 
Float:pos[4], Float:fXFloat:fZ;
    
GetVehiclePos(GetPlayerVehicleID(playerid), pos[0], pos[1], pos[2]);
    
GetVehicleModelInfo(GetPlayerVehicleID(playerid), VEHICLE_MODEL_INFO_SIZEfXpos[3], fZ);
    
GetXYBehindVehicle(GetPlayerVehicleID(playerid), pos[0], pos[1], pos[3]);
    
CreateVehicle(411pos[0], pos[1], pos[2], pos[3], random(126), random(126), (60*60), 0);
    return 
true;

Reply


Messages In This Thread
Floats +REP - by Snoopythekill - 28.07.2015, 21:24
Re: Floats +REP - by Evocator - 28.07.2015, 21:32
Respuesta: Floats +REP - by Snoopythekill - 28.07.2015, 21:49
Re: Floats +REP - by Vince - 28.07.2015, 21:57
Respuesta: Floats +REP - by Snoopythekill - 29.07.2015, 01:29

Forum Jump:


Users browsing this thread: 1 Guest(s)