їComo soluciono esto?
#5

pawn Код:
if (!strcmp("/Landstalker", cmdtext, true))
{
        if(CreoVehiculo[playerid] == 1)
          {
           DestroyVehicle(playerid);
           CreoVehiculo[playerid] = 1;
           new Float:X,Float:Y,Float:Z,Float:ROT;
           GetPlayerPos(playerid,X,Y,Z);
           GetPlayerFacingAngle (playerid,ROT);
           SpawnAuto[playerid] = CreateVehicle(400,X,Y,Z,ROT, -1, -1, 60); SetVehiclePos(SpawnAuto[playerid], X, Y, Z);
           PutPlayerInVehicle(playerid,SpawnAuto[playerid],0);
           return 1;
          }
         
        if(CreoVehiculo[playerid] == 0)
        {
        CreoVehiculo[playerid] = 1;
        new Float:X,Float:Y,Float:Z,Float:ROT;
        GetPlayerPos(playerid,X,Y,Z);
        GetPlayerFacingAngle (playerid,ROT);
        SpawnAuto[playerid] = CreateVehicle(400,X,Y,Z,ROT, -1, -1, 60); SetVehiclePos(SpawnAuto[playerid], X, Y, Z);
        PutPlayerInVehicle(playerid,SpawnAuto[playerid],0);
        return 1;
        }
}
Reply


Messages In This Thread
їComo soluciono esto? - by teamz - 13.11.2015, 18:55
Respuesta: їComo soluciono esto? - by INKISICION - 13.11.2015, 20:12
Respuesta: їComo soluciono esto? - by teamz - 13.11.2015, 23:34
Respuesta: їComo soluciono esto? - by Goncho28 - 13.11.2015, 23:39
Respuesta: їComo soluciono esto? - by teamz - 14.11.2015, 01:42
Respuesta: їComo soluciono esto? - by x3378 - 14.11.2015, 07:48
Respuesta: їComo soluciono esto? - by Th3Cr4k3r - 14.11.2015, 12:56
Respuesta: їComo soluciono esto? - by Zume - 14.11.2015, 14:43
Respuesta: їComo soluciono esto? - by DesingMyCry - 14.11.2015, 15:22
Respuesta: їComo soluciono esto? - by teamz - 14.11.2015, 22:19

Forum Jump:


Users browsing this thread: 1 Guest(s)