31.08.2012, 02:46
Fixed (not tested)
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
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
}
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