18.12.2012, 05:44
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?
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; } }