Unfreeze or something.. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Unfreeze or something.. (
/showthread.php?tid=434376)
Unfreeze or something.. -
dorperez - 02.05.2013
When the player ends the registration,it should be teleport to somewhere else and I can see he teleport on the map but its stays at the same screen..
I tried to unfreeze him but it doesn't worked,when I unfreeze with my cheats its work....
This is the end of registration code:
pawn Код:
if(listitem == 1) // They selected the second item - AK-47
{
ClearChatbox(playerid, 2);
SendClientMessage(playerid, COLOR_LIGHTRED, "!Correct!");
SetPlayerPos(playerid,1648.8015,-2405.3567,15.4083);
SetPlayerFacingAngle(playerid, 270.7224);
SetPlayerVirtualWorld(playerid,0);
SetPlayerInterior(playerid,0);
RegistrationQuestion[playerid] = 0;
PlayerInfo[playerid][pRegisted] = 1;
gPlayerAccount[playerid] = 1;
ClearChatbox(playerid, 1);
ClearChatbox(playerid, 3);
ClearChatbox(playerid, 2);
TogglePlayerControllable(playerid, 1);
}
Re: Unfreeze or something.. -
dannyk0ed - 02.05.2013
pawn Код:
SetCameraBehindPlayer(playerid);
Re: Unfreeze or something.. -
dorperez - 02.05.2013
Quote:
Originally Posted by dannyk0ed
pawn Код:
SetCameraBehindPlayer(playerid);
|
Tnx bro

)