Problem with TogglePlayerControllable
#2

pawn Код:
public SetPlayerSpawn(playerid)
{
.....
            if(PlayerInfo[playerid][pTut] == 0)
            {
                gOoc[playerid] = 1; gNews[playerid] = 1; gFam[playerid] = 1;
                SafeSetPlayerInterior(playerid, 3);
                SafeSetPlayerPos(playerid, 330.6825,163.6688,1014.1875);
                SetPlayerFacingAngle(playerid, 280);
                TogglePlayerControllable(playerid, 1); // Set that thing to 1 to freeze the player.
                RegistrationStep[playerid] = 1;
                SendClientMessage(playerid, COLOR_LIGHTRED, "Hello there! Welcome to the Los Santo Immigration Center, I will be asking you a few questions.");
                SendClientMessage(playerid, COLOR_LIGHTRED, "First Question: Are you a Male or Female?");
                SendClientMessage(playerid, COLOR_LIGHTRED, "TIP: Please type in what you are! Don't worry, no one will see it!");
                PlayerInfo[playerid][pRegularCount] = 144000;
                SafeGivePlayerMoney(playerid,500);
                return 1;
            }
}
Reply


Messages In This Thread
Problem with TogglePlayerControllable - by misticini - 09.08.2011, 21:11
Re: Problem with TogglePlayerControllable - by Cypress - 09.08.2011, 21:26
Re: Problem with TogglePlayerControllable - by misticini - 09.08.2011, 21:27
Re : Re: Problem with TogglePlayerControllable - by Soumi - 09.08.2011, 21:27
Re: Problem with TogglePlayerControllable - by misticini - 09.08.2011, 21:45
Re: Problem with TogglePlayerControllable - by mprofitt - 10.08.2011, 01:59

Forum Jump:


Users browsing this thread: 1 Guest(s)