SA-MP Forums Archive
SetPlayerShakeVision - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: SetPlayerShakeVision (/showthread.php?tid=274386)



SetPlayerShakeVision - Visio - 05.08.2011

I have some errors im my gamemode...

PHP код:
C:\Users\Alex\Desktop\gm.PWN(2450) : error 017undefined symbol "DisablePlayerShakeVision"
C:\Users\Alex\Desktop\gm.PWN(2507) : error 017undefined symbol "DisablePlayerShakeVision"
C:\Users\Alex\Desktop\gm.PWN(2652) : error 017undefined symbol "DisablePlayerShakeVision"
C:\Users\Alex\Desktop\gm.PWN(3525) : error 017undefined symbol "DisablePlayerShakeVision"
C:\Users\Alex\Desktop\gm.PWN(3538) : error 017undefined symbol "DisablePlayerShakeVision"
C:\Users\Alex\Desktop\gm.PWN(3550) : error 017undefined symbol "DisablePlayerShakeVision"
C:\Users\Alex\Desktop\gm.PWN(3582) : error 017undefined symbol "DisablePlayerShakeVision"
C:\Users\Alex\Desktop\gm.PWN(3675) : error 017undefined symbol "DisablePlayerShakeVision"
C:\Users\Alex\Desktop\gm.PWN(3833) : error 017undefined symbol "DisablePlayerShakeVision"
C:\Users\Alex\Desktop\gm.PWN(3852) : error 017undefined symbol "DisablePlayerShakeVision"
C:\Users\Alex\Desktop\gm.PWN(3878) : error 017undefined symbol "DisablePlayerShakeVision"
C:\Users\Alex\Desktop\gm.PWN(3886) : error 017undefined symbol "DisablePlayerShakeVision"
C:\Users\Alex\Desktop\gm.PWN(3905) : error 017undefined symbol "DisablePlayerShakeVision"
C:\Users\Alex\Desktop\gm.PWN(10846) : error 017undefined symbol "DisablePlayerShakeVision"
C:\Users\Alex\Desktop\gm.PWN(20796) : error 017undefined symbol "SetPlayerShakeVision"
C:\Users\Alex\Desktop\gm.PWN(20813) : error 017undefined symbol "SetPlayerShakeVision"
C:\Users\Alex\Desktop\gm.PWN(31656) : error 017undefined symbol "NameTimer"
Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
17 Errors




Re: SetPlayerShakeVision - WoodPecker - 05.08.2011

ShakeVision? is that a plugin/filterscript?


Re: SetPlayerShakeVision - Visio - 05.08.2011

No isn't a filescript!
Is in my gamemode


Re: SetPlayerShakeVision - Calgon - 05.08.2011

SetPlayerDrunkLevel wrapped functions?


Re: SetPlayerShakeVision - Steven82 - 05.08.2011

Well it's not in your gamemode, or you wouldn't be getting these errors.


Re: SetPlayerShakeVision - WoodPecker - 05.08.2011

I never saw a function DisablePlayerShakeVision or something like that, can you explain more and send here the DisablePlayerShakeVision and SetPlayerShakeVision function?


Re: SetPlayerShakeVision - Visio - 05.08.2011

It 1 exemple of 17
PHP код:
if(strcmp(cmdtext"/buyporn"true) == 0)
    {
        if (
PlayerToPoint(5,playerid,-103.8990,-21.9417,1000.7188))
        {
            
SetPlayerHealth(playerid100);
            
GivePlayerMoney(playerid, -500);
            
GivePlayerWeapon(playerid121);
            
SetPlayerShakeVision(playeridVISION_TYPE2);
            
GetPlayerName(playeridsendernamesizeof(sendername));
               
format(stringsizeof(string), "%s Zice : Ahhhhh ce bine a fost..."sendername);
            
ProxDetector(30.0playeridstringCOLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE);
               
format(stringsizeof(string), "Vanzatorul Zice : Stiu, te costa 500Ђ !");
            
ProxDetector(30.0playeridstringCOLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE);
            
SetTimer("PornStop",10000,false);
            return 
1;
        }
    } 



Re: SetPlayerShakeVision - linuxthefish - 05.08.2011

I think you are safe to change it to SetPlayerDrunkLevel.


Re: SetPlayerShakeVision - WoodPecker - 05.08.2011

Visio samp doesnt have the function SetPlayerShakeVision, where you got this function?


Re: SetPlayerShakeVision - Scenario - 05.08.2011

Quote:
Originally Posted by WoodPecker
Посмотреть сообщение
Visio samp doesnt have the function SetPlayerShakeVision, where you got this function?
I'm sure it's from MTA or something.