Simple Help
#2

Fixed (not tested)
pawn Код:
CMD:drag(playerid, params[])
{
       SetPlayerPos(playerid,drag coords);
       SetPlayerVirtualWorld(playerid,0);
       else
       if(IsPlayerInAnyVehicle(playerid);
       SetPlayerVehiclePos(playerid,drag coords inside a vehicle);
       SetPlayerVirtualWorld(playerid,0);
       return 1;
// To take the coords go to your drag map location and do /save in the player/vehicle spawn
}
I removed some useless stuff(they had no effect(useless lines))
Let me tell you your mistakes:
First you've placed no player/vehicle coords
Second you were teleporting the player to VirtualWorld3(your random thing)
Third your code was wrong.
Fourth i fixed your code just add your player and vehicle pos
Reply


Messages In This Thread
Simple Help - by kbalor - 31.08.2012, 02:42
Re: Simple Help - by Johnson_Brooks - 31.08.2012, 02:46
Re: Simple Help - by kbalor - 31.08.2012, 02:54
Re: Simple Help - by Johnson_Brooks - 31.08.2012, 02:56
Re: Simple Help - by kbalor - 31.08.2012, 03:00
Re: Simple Help - by Lordzy - 31.08.2012, 03:02
Re: Simple Help - by kbalor - 31.08.2012, 03:22
Re: Simple Help - by Lordzy - 31.08.2012, 03:48

Forum Jump:


Users browsing this thread: 1 Guest(s)