#5

pawn Код:
if (strcmp("/skatepark", cmdtext, true, 10) == 0)
    {
         new Vehid, Vehmodel;
         Vehid = GetPlayerVehicleID(playerid);
         Vehmodel = GetVehicleModel(Vehid);
         if(Vehmodel == 571)
         {
         SendClientMessage(playerid, 0xAA3333AA, "Sk8park!");
         return 1;
         }
         else if (IsPlayerInAnyVehicle(playerid))
         {
         SetVehiclePos(GetPlayerVehicleID(playerid), 1887.5681, -1389.8606, 13.5703);
         SetVehicleZAngle(GetPlayerVehicleID(playerid), 87.9845);
         SetPlayerInterior(playerid, 0);
         }
         else if (!IsPlayerInAnyVehicle(playerid))
         {
         SetPlayerPos(playerid, 1887.5681, -1389.8606, 13.5703);
         SetPlayerFacingAngle(playerid, 87.9845);
         SetPlayerInterior(playerid, 0);
         }
         return 1;
    }
Try this.
Reply


Messages In This Thread
Help - by dewilix - 14.07.2010, 17:05
Re: Help - by ikey07 - 14.07.2010, 17:10
Re: Help - by dewilix - 14.07.2010, 17:19
Re: Help - by MikkelGutten - 14.07.2010, 17:24
Re: Help - by Jeffry - 14.07.2010, 17:29
Re: Help - by dewilix - 14.07.2010, 17:33
Re: Help - by Jeffry - 14.07.2010, 17:37

Forum Jump:


Users browsing this thread: 1 Guest(s)