SetPlayerShakeVision
#1

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

Reply
#2

ShakeVision? is that a plugin/filterscript?
Reply
#3

No isn't a filescript!
Is in my gamemode
Reply
#4

SetPlayerDrunkLevel wrapped functions?
Reply
#5

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

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

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;
        }
    } 
Reply
#8

I think you are safe to change it to SetPlayerDrunkLevel.
Reply
#9

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

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)