Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stock SetPlayerPosEx(playerid, Float: X, Float: Y, Float: Z, Float: Angle, VW = 0, Interior = 0)
- {
- TogglePlayerControllable(playerid, false);
- SetPlayerPos(playerid, X, Y, Z);
- SetPlayerFacingAngle(playerid, Angle);
- SetPlayerVirtualWorld(playerid, VW);
- SetPlayerInterior(playerid, Interior);
- if(Interior == 0) return TogglePlayerControllable(playerid, true);
- if(Interior != 0) {
- SetTimerEx("FinishStreamingIn", 5000, false, "i", playerid);
- return GameTextForPlayer(playerid, "Streaming you in... Please wait...", 5000, 6);
- }
- return 1;
- }
- forward FinishStreamingIn(playerid);
- public FinishStreamingIn(playerid)
- {
- TogglePlayerControllable(playerid, true);
- GameTextForPlayer(playerid, "You have been streamed in.", 4500, 6);
- return 1;
- }
Add Comment
Please, Sign In to add comment