SA-MP Forums Archive
Controlling Player Issue - 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: Controlling Player Issue (/showthread.php?tid=346939)



Controlling Player Issue - iFederal - 30.05.2012

well, I've lately moved through a RP Script (GF)
and when I register / login then Spawn, I possibly can not move
like.. I move then stop, move then stop. also, I can't get in any vehicle nor Jump.
TogglePlayerControllable is set to be 1.

Thanks in advance and going to rep+ whoever helps



Re: Controlling Player Issue - dannyk0ed - 30.05.2012

Doesnt that have a tutorial? Then the tutorial doesnt work


Re: Controlling Player Issue - iFederal - 30.05.2012

Quote:
Originally Posted by dannyk0ed
Посмотреть сообщение
Doesnt that have a tutorial? Then the tutorial doesnt work
The tutorial is self-made and It is working.
pawn Код:
else if(TutTime[i] == 113) //END
                    {
                        TextDrawHideForPlayer(i, Textdraw98);
                        SendClientMessage(i,COLOR_WHITE,"{248B10}Database: {FFFFFF}Your player-file has been saved to our database.");
                        SendClientMessage(i,COLOR_WHITE,"{248B10}Team Message: {FFFFFF}This script is FULLY made by our Development Team and we are ready to provide solid evidence to SA-MP Official Team.");
                        CanTalk[i] = 1;
                        TutTime[i] = 0;
                        PlayerInfo[i][pTut] = 1;
                        PlayerInfo[i][pSafeSpawn] = 1;
                        gOoc[i] = 0; gNewbie[i] = 0; gNews[i] = 0; gFam[i] = 0;
                        TogglePlayerControllable(i, 1);
                        PlayerInfo[i][pHealth] = 100;
                        PlayerInfo[i][pArmor] = 0;
                        SetPlayerSpawn(i);
                    }