Freezing a player to let the mapping load
#1

I have this falling threw the floor problem, that i've been trying to fix, and i thought "Hey, why not freeze the player?!"
Wellllllllllllllllllllll sadly that won't work. I have no idea what the hell i'm doing wrong in this one, normally i can figure problems out like this, but not this one :3

So that's what i got so far, as you can see, i set it to where the players not controllable, then it makes him controllable, but for some reason, it won't kick in, can someone tell me how to freeze a player for atleast 2 seconds?

Code:
				    if(PlayerInfo[playerid][pAdmin] >= 9999)//Jay's Special House - Brucie you want one? I'll even make one for Gonzalo too =D
				    {
				        GameTextForPlayer(playerid,"~w~Jay's House",1000,1);
				        SetPlayerInterior(playerid,5);
				        SetPlayerPos(playerid,2476.7161,1796.8595,1541.7156);
						TogglePlayerControllable(playerid,0);
				        SetTimer("StartPaintball",1000,0);
				        TogglePlayerControllable(playerid,1);
				        SetPlayerVirtualWorld(playerid,1337);
				        SetPlayerFacingAngle(playerid,0.0);
				        SetCameraBehindPlayer(playerid);
				        return 1;
					}
					else
					{
					    SendClientMessage(playerid, COLOR_LIGHTRED, "   You do not have permission to enter Jay's Lair of Doom!!");
					    return 1;
					}
				}
Reply


Messages In This Thread
Freezing a player to let the mapping load - by Jay_Dixon - 18.12.2012, 05:44
Re: Freezing a player to let the mapping load - by [KHK]Khalid - 18.12.2012, 05:49
Re: Freezing a player to let the mapping load - by Jay_Dixon - 18.12.2012, 05:53
Re: Freezing a player to let the mapping load - by Huxley - 18.12.2012, 06:00
Re: Freezing a player to let the mapping load - by iggy1 - 18.12.2012, 07:12
Re: Freezing a player to let the mapping load - by Jay_Dixon - 18.12.2012, 18:17
Re: Freezing a player to let the mapping load - by Mike_Peterson - 18.12.2012, 18:35
Re: Freezing a player to let the mapping load - by iggy1 - 18.12.2012, 18:47

Forum Jump:


Users browsing this thread: 1 Guest(s)