24.09.2013, 15:12
U made pos a global variable, i think its suposed to be only on top of your commands so:
if(Dragged[playerid] != -1)
{
new pos;
new Dragged[playerid];
new Floatos[3];
GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
SetPlayerPos(playerid, pos[0]+0.5, pos[1]+0.5, pos[2]);
SetPlayerInterior(playerid, GetPlayerInterior(playerid));
SetPlayerVirtualWorld(playerid, GetPlayerVirtualWorld(playerid));
}
im not really sure but i tried! good luck
if(Dragged[playerid] != -1)
{
new pos;
new Dragged[playerid];
new Floatos[3];
GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
SetPlayerPos(playerid, pos[0]+0.5, pos[1]+0.5, pos[2]);
SetPlayerInterior(playerid, GetPlayerInterior(playerid));
SetPlayerVirtualWorld(playerid, GetPlayerVirtualWorld(playerid));
}
im not really sure but i tried! good luck