Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stock T_SetPlayerPos(p,Float:X,Float:Y,Float:Z,Float:A = 0.0,Int = 0,World = 0,bool:freeze = false,time = 1000)
- {
- if(PLAYER_AIRBRK[p] == false) KillTimer(AIR_TIMER[p]);
- PLAYER_AIRBRK[p] = false;
- AIR_TIMER[p] = SetTimerEx("AIRBRK_SET" , 4000, false, "i", p);
- PLAYER_POS[p][0] = X;
- PLAYER_POS[p][1] = Y;
- PLAYER_POS[p][2] = Z;
- SetPlayerPos(p,X,Y,Z),
- SetPlayerInterior(p,Int),
- SetPlayerVirtualWorld(p,World);
- if(freeze) Freeze(p), SetTimerEx("UnFreeze" , time, false, "i", p);
- SetPlayerFacingAngle(p,A);
- SetCameraBehindPlayer(p);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement