[Include] SetPlayerPosEx
#19

Quote:
Originally Posted by kacper55331
View Post
pawn Code:
stock SetPlayerPosEx(playerid, Float:x, Float:y, Float:z, Float:a = -1.0, interior = -1, vw = -1)
{
    SetPlayerPos(playerid, x, y, z);
   
    if(a == -1.0)
        GetPlayerFacingAngle(playerid, a);
    SetPlayerFacingAngle(playerid, a);
   
    if(interior == -1)
        interior = GetPlayerInterior(playerid);
    SetPlayerInterior(playerid, interior);
   
    if(vw == -1)
        vw = GetPlayerVirtualWorld(playerid);
    SetPlayerVirtualWorld(playerid, vw);
    return 1;
}
The expanded version.
Could you please explain that now? What it will do if a = -1.0 or something. Please explain?
Reply


Messages In This Thread
SetPlayerPosEx - spsx.inc v1.1 - by Ballu Miaa - 28.02.2012, 09:12
Re: SetPlayerPosEx - by iTorran - 28.02.2012, 09:18
Re: SetPlayerPosEx - by Ballu Miaa - 28.02.2012, 09:22
Re: SetPlayerPosEx - by Ballu Miaa - 28.02.2012, 10:00
Re: SetPlayerPosEx - by Ballu Miaa - 28.02.2012, 11:04
Re: SetPlayerPosEx - by [HK]Ryder[AN] - 28.02.2012, 11:09
Re: SetPlayerPosEx - by Shadow_ - 28.02.2012, 11:16
Re: SetPlayerPosEx - by Niko_boy - 28.02.2012, 12:42
Re: SetPlayerPosEx - by Ballu Miaa - 28.02.2012, 12:50
Re: SetPlayerPosEx - by Y_Less - 28.02.2012, 13:04
Re: SetPlayerPosEx - by Ballu Miaa - 28.02.2012, 13:23
Re: SetPlayerPosEx - by legodude - 28.02.2012, 20:05
Re: SetPlayerPosEx - by Ballu Miaa - 29.02.2012, 02:26
Re: SetPlayerPosEx - by willzyyy - 29.02.2012, 04:01
Re: SetPlayerPosEx - by Ballu Miaa - 29.02.2012, 05:20
Re: SetPlayerPosEx - by Jochemd - 16.03.2012, 13:38
Re: SetPlayerPosEx - by Ballu Miaa - 16.03.2012, 16:45
Re: SetPlayerPosEx - by kacper55331 - 16.03.2012, 21:14
Re: SetPlayerPosEx - by Ballu Miaa - 23.03.2012, 00:40
Re: SetPlayerPosEx - by Krx17 - 23.03.2012, 00:56
Re: SetPlayerPosEx - by Crazymax - 29.04.2012, 17:54
Respuesta: SetPlayerPosEx - by irinel1996 - 29.04.2012, 22:11
Re: SetPlayerPosEx - by lucas_mdr1235 - 29.04.2012, 22:39
Re: SetPlayerPosEx - by rscaerzx - 29.04.2012, 23:42
Re: SetPlayerPosEx - by Ballu Miaa - 30.04.2012, 16:00
Re: SetPlayerPosEx - by FalconX - 01.05.2012, 19:35
Re: SetPlayerPosEx - by Ballu Miaa - 02.05.2012, 02:05

Forum Jump:


Users browsing this thread: 10 Guest(s)