Jump to content
  • 0

SetPlayerShakeVision


gunskill

Question

Am si eu 17 errori(legate de titlu) adica de SetPlayerShakeVision!

Cam asa arata!

[pawn]C:\Users\Alex\Desktop\gm.PWN(2450) : error 017: undefined symbol "DisablePlayerShakeVision"

C:\Users\Alex\Desktop\gm.PWN(2507) : error 017: undefined symbol "DisablePlayerShakeVision"

C:\Users\Alex\Desktop\gm.PWN(2652) : error 017: undefined symbol "DisablePlayerShakeVision"

C:\Users\Alex\Desktop\gm.PWN(3525) : error 017: undefined symbol "DisablePlayerShakeVision"

C:\Users\Alex\Desktop\gm.PWN(3538) : error 017: undefined symbol "DisablePlayerShakeVision"

C:\Users\Alex\Desktop\gm.PWN(3550) : error 017: undefined symbol "DisablePlayerShakeVision"

C:\Users\Alex\Desktop\gm.PWN(3582) : error 017: undefined symbol "DisablePlayerShakeVision"

C:\Users\Alex\Desktop\gm.PWN(3675) : error 017: undefined symbol "DisablePlayerShakeVision"

C:\Users\Alex\Desktop\gm.PWN(3833) : error 017: undefined symbol "DisablePlayerShakeVision"

C:\Users\Alex\Desktop\gm.PWN(3852) : error 017: undefined symbol "DisablePlayerShakeVision"

C:\Users\Alex\Desktop\gm.PWN(3878) : error 017: undefined symbol "DisablePlayerShakeVision"

C:\Users\Alex\Desktop\gm.PWN(3886) : error 017: undefined symbol "DisablePlayerShakeVision"

C:\Users\Alex\Desktop\gm.PWN(3905) : error 017: undefined symbol "DisablePlayerShakeVision"

C:\Users\Alex\Desktop\gm.PWN(10846) : error 017: undefined symbol "DisablePlayerShakeVision"

C:\Users\Alex\Desktop\gm.PWN(20796) : error 017: undefined symbol "SetPlayerShakeVision"

C:\Users\Alex\Desktop\gm.PWN(20813) : error 017: undefined symbol "SetPlayerShakeVision"

C:\Users\Alex\Desktop\gm.PWN(31656) : error 017: undefined symbol "NameTimer"

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

17 Errors.

[/pawn]

rszadc33936a6e246e39ea2.png
Link to comment
Share on other sites

9 answers to this question

Recommended Posts

Exemplu..mai sunt inca 16

[pawn]if(strcmp(cmdtext, "/buyporn", true) == 0)

    {

if (PlayerToPoint(5,playerid,-103.8990,-21.9417,1000.7188))

{

    SetPlayerHealth(playerid, 100);

    GivePlayerMoney(playerid, -500);

    GivePlayerWeapon(playerid, 12, 1);

    SetPlayerShakeVision(playerid, VISION_TYPE2);

    GetPlayerName(playerid, sendername, sizeof(sendername));

  format(string, sizeof(string), "%s Zice : Ahhhhh ce bine a fost...", sendername);

ProxDetector(30.0, playerid, string, COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE);

  format(string, sizeof(string), "Vanzatorul Zice : Stiu, te costa 500€ !");

ProxDetector(30.0, playerid, string, COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE);

SetTimer("PornStop",10000,false);

    return 1;

}

}[/pawn]

rszadc33936a6e246e39ea2.png
Link to comment
Share on other sites

vezi asa

ai pus

return 1;

}

}

[pawn]if(strcmp(cmdtext, "/buyporn", true) == 0)

    {

if (PlayerToPoint(5,playerid,-103.8990,-21.9417,1000.7188))

{

    SetPlayerHealth(playerid, 100);

    GivePlayerMoney(playerid, -500);

    GivePlayerWeapon(playerid, 12, 1);

    SetPlayerShakeVision(playerid, VISION_TYPE2);

    GetPlayerName(playerid, sendername, sizeof(sendername));

  format(string, sizeof(string), "%s Zice : Ahhhhh ce bine a fost...", sendername);

ProxDetector(30.0, playerid, string, COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE);

  format(string, sizeof(string), "Vanzatorul Zice : Stiu, te costa 500€ !");

ProxDetector(30.0, playerid, string, COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE);

SetTimer("PornStop",10000,false);

    return 1;

}[/pawn]

468833_437698_362328_hiphop.jpg
Link to comment
Share on other sites

De unde ai copiat comanda? (Important)

si comanda corecteazo:

[pawn]

if(strcmp(cmdtext, "/buyporn", true) == 0)

    {

if (PlayerToPoint(5,playerid,-103.8990,-21.9417,1000.7188))

{

    SetPlayerHealth(playerid, 100);

    GivePlayerMoney(playerid, -500);

    GivePlayerWeapon(playerid, 12, 1);

    SetPlayerShakeVision(playerid, VISION_TYPE2);

    GetPlayerName(playerid, sendername, sizeof(sendername));

  format(string, sizeof(string), "%s Zice : Ahhhhh ce bine a fost...", sendername);

ProxDetector(30.0, playerid, string, COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE);

  format(string, sizeof(string), "Vanzatorul Zice : Stiu, te costa 500€ !");

ProxDetector(30.0, playerid, string, COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE);

SetTimer("PornStop",10000,false);

    return 1;

}

                return 1;

}[/pawn]

PS:Ryder ori faci o treaba bine ori nu mai face deloc.

 

Link to comment
Share on other sites

Am scapat de errorile cu SetPlayerShakeVision.(mai am name timeru dar il fac trebuie doar un new NameTimer) :))

Am rezolvat,ms mult tuturor care m-au ajutat! :kiss:

EDIT:am pus new NameTimer; si am asa:

[pawn].PWN(31657) : error 012: invalid function call, not a valid address

.PWN(31657) : error 029: invalid expression, assumed zero

.PWN(31657) : warning 215: expression has no effect

.PWN(34282) : warning 203: symbol is never used: "NameTimer"

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

2 Errors.

[/pawn]

rszadc33936a6e246e39ea2.png
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.