Jump to content
  • 0

Am mare nevoie de ajuor aicia.


Question

Posted

Va rog ajutatima nu stiu cum sa le rezolv :((

C:\Documents and Settings\IuLyAnBoSs\My Documents\BLODTZ\BLODTZ\pawno\include\streamer.inc(435) : warning 202: number of arguments does not match definition

C:\Documents and Settings\IuLyAnBoSs\My Documents\BLODTZ\BLODTZ\pawno\include\streamer.inc(449) : warning 202: number of arguments does not match definition

C:\Documents and Settings\IuLyAnBoSs\My Documents\BLODTZ\BLODTZ\gamemodes\hjhh.pwn(1314) : error 017: undefined symbol "SetPVarInt"

C:\Documents and Settings\IuLyAnBoSs\My Documents\BLODTZ\BLODTZ\gamemodes\hjhh.pwn(2501) : error 017: undefined symbol "SetPVarInt"

C:\Documents and Settings\IuLyAnBoSs\My Documents\BLODTZ\BLODTZ\gamemodes\hjhh.pwn(2530) : error 017: undefined symbol "SetPVarInt"

C:\Documents and Settings\IuLyAnBoSs\My Documents\BLODTZ\BLODTZ\gamemodes\hjhh.pwn(3308) : error 017: undefined symbol "SetPVarInt"

C:\Documents and Settings\IuLyAnBoSs\My Documents\BLODTZ\BLODTZ\gamemodes\hjhh.pwn(3818) : error 017: undefined symbol "SetPVarInt"

C:\Documents and Settings\IuLyAnBoSs\My Documents\BLODTZ\BLODTZ\gamemodes\hjhh.pwn(4050) : error 017: undefined symbol "SetPVarInt"

C:\Documents and Settings\IuLyAnBoSs\My Documents\BLODTZ\BLODTZ\gamemodes\hjhh.pwn(4415) : error 017: undefined symbol "SetPVarInt"

C:\Documents and Settings\IuLyAnBoSs\My Documents\BLODTZ\BLODTZ\gamemodes\hjhh.pwn(4431) : error 017: undefined symbol "GetPVarInt"

C:\Documents and Settings\IuLyAnBoSs\My Documents\BLODTZ\BLODTZ\gamemodes\hjhh.pwn(4458) : error 017: undefined symbol "SetPVarInt"

C:\Documents and Settings\IuLyAnBoSs\My Documents\BLODTZ\BLODTZ\gamemodes\hjhh.pwn(4464) : error 017: undefined symbol "SetPVarInt"

C:\Documents and Settings\IuLyAnBoSs\My Documents\BLODTZ\BLODTZ\gamemodes\hjhh.pwn(4485) : error 017: undefined symbol "SetPVarInt"

C:\Documents and Settings\IuLyAnBoSs\My Documents\BLODTZ\BLODTZ\gamemodes\hjhh.pwn(4486) : error 017: undefined symbol "SetPVarInt"

C:\Documents and Settings\IuLyAnBoSs\My Documents\BLODTZ\BLODTZ\gamemodes\hjhh.pwn(4529) : error 017: undefined symbol "SetPVarInt"

C:\Documents and Settings\IuLyAnBoSs\My Documents\BLODTZ\BLODTZ\gamemodes\hjhh.pwn(4530) : error 017: undefined symbol "SetPVarInt"

C:\Documents and Settings\IuLyAnBoSs\My Documents\BLODTZ\BLODTZ\gamemodes\hjhh.pwn(4559) : error 017: undefined symbol "SetPVarInt"

C:\Documents and Settings\IuLyAnBoSs\My Documents\BLODTZ\BLODTZ\gamemodes\hjhh.pwn(4573) : error 017: undefined symbol "SetPVarInt"

C:\Documents and Settings\IuLyAnBoSs\My Documents\BLODTZ\BLODTZ\gamemodes\hjhh.pwn(4587) : error 017: undefined symbol "SetPVarInt"

C:\Documents and Settings\IuLyAnBoSs\My Documents\BLODTZ\BLODTZ\gamemodes\hjhh.pwn(4601) : error 017: undefined symbol "SetPVarInt"

C:\Documents and Settings\IuLyAnBoSs\My Documents\BLODTZ\BLODTZ\gamemodes\hjhh.pwn(4615) : error 017: undefined symbol "SetPVarInt"

C:\Documents and Settings\IuLyAnBoSs\My Documents\BLODTZ\BLODTZ\gamemodes\hjhh.pwn(4629) : error 017: undefined symbol "SetPVarInt"

C:\Documents and Settings\IuLyAnBoSs\My Documents\BLODTZ\BLODTZ\gamemodes\hjhh.pwn(4643) : error 017: undefined symbol "SetPVarInt"

C:\Documents and Settings\IuLyAnBoSs\My Documents\BLODTZ\BLODTZ\gamemodes\hjhh.pwn(4657) : error 017: undefined symbol "SetPVarInt"

C:\Documents and Settings\IuLyAnBoSs\My Documents\BLODTZ\BLODTZ\gamemodes\hjhh.pwn(4671) : error 017: undefined symbol "SetPVarInt"

C:\Documents and Settings\IuLyAnBoSs\My Documents\BLODTZ\BLODTZ\gamemodes\hjhh.pwn(4685) : error 017: undefined symbol "SetPVarInt"

C:\Documents and Settings\IuLyAnBoSs\My Documents\BLODTZ\BLODTZ\gamemodes\hjhh.pwn(4699) : error 017: undefined symbol "SetPVarInt"

C:\Documents and Settings\IuLyAnBoSs\My Documents\BLODTZ\BLODTZ\gamemodes\hjhh.pwn(4713) : error 017: undefined symbol "SetPVarInt"

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

26 Errors.

SetPVarInt este definit astfel:

#define GivePlayerMoneyEx(%0,%1) SetPVarInt(%0,"Money",GetPlayerMoneyEx(%0)+%1),GivePlayerMoney(%0,%1)

#define ResetPlayerMoneyEx(%0) SetPVarInt(%0,"Money",0),ResetPlayerMoney(%0)

Uitati toare liniile unde imi da errori:

Linia 435 :

#define MAX_STRING 255

Linia 449:

#define COLOR_DP 0x7D1B7EFF

Linia 1314:

GivePlayerMoneyEx(playerid, 75000);

Linia 2501:

  GivePlayerMoneyEx(i, value);

Linia 2530:

    GivePlayerMoneyEx(i, value);

Linia 3308:

    GivePlayerMoneyEx(playerid,PlayerInfo[playerid][pCash]); swat[playerid] = 0;

Linia 3818:

GivePlayerMoneyEx(i, Jackpot);

Linia 4050:

GivePlayerMoneyEx(playerid, -cut);

Linia 4415:

GivePlayerMoneyEx(killerid, PlayerInfo[playerid][pHeadValue]);

Linia 4431:

playercash = GetPlayerMoneyEx(playerid);

Linia 4458:

GivePlayerMoneyEx(playerid, -slice);

Linia 4464:

GivePlayerMoneyEx(killerid, slice);

Linia 4485:

GivePlayerMoneyEx(playerid, -suecost);

Linia 4486:

GivePlayerMoneyEx(playerid, suecost+100);//+100pays hospital bill

Linia 4529:

GivePlayerMoneyEx(killerid, -suecost);

Linia 4530:

GivePlayerMoneyEx(playerid, suecost+100);//+100pays hospital bill

Linia 4559:

GivePlayerMoneyEx(killerid, 1500);

Linia 4573:

GivePlayerMoneyEx(killerid, 1500);

Linia 4587:

GivePlayerMoneyEx(killerid, 1500);

Linia 4601:

GivePlayerMoneyEx(killerid, 1500);

Linia 4615:

GivePlayerMoneyEx(killerid, 1500);

Linia 4629 :

GivePlayerMoneyEx(killerid, 1500);

Linia 4643:

GivePlayerMoneyEx(killerid, 1500);

Linia 4657:

GivePlayerMoneyEx(killerid, 1500);

Linia 4671:

GivePlayerMoneyEx(killerid, 1500);

Linia 4685:

GivePlayerMoneyEx(killerid, 1500);

Linia 4699:

GivePlayerMoneyEx(killerid, 1500);

Linia 4713:

GivePlayerMoneyEx(killerid, 1500);

SPER SA MA AJUTAI SA LE REZOLV.VA ROGGGGG

Respecta Si Vei Fi Respectat !!!

7 answers to this question

Recommended Posts

Posted

Ai postat gresit,trebuia sa postezi la discutii scripting.

PS.Pune include-urile de la 0.3c sau daca nu merge

Incearca cu GetPlayerMoney in loc de GivePlayerMoney

gXvsYS
Posted

new SetPVarInt[MAX_PLAYERS]

Poate merge asa, nu sunt sigur.

Asta nu are legatura,cel mai sigur e de la include,nu le are pe cele de la 0.3c sau cum am mai zis incearca cu GetPlayerMoney in loc de GivePlayerMoney

Si fa un update la streamer,,da`mi linile 435 si 449

gXvsYS
Posted

Am schimbat streamer si tot degeaba.

Uite liniile:

Linia 435 :

#define MAX_STRING 255

Linia 449:

#define COLOR_DP 0x7D1B7EFF

Am in folderul include, includerele urmatoare:

Streamer

xStreamer

O sa incerc cu GetPlayerMoney

P.S: am incercat imi da 26 de erori dar acuma mi le da cu GetPlayerMoney nu mi le mia da cu GivePlayerMoney.

Respecta Si Vei Fi Respectat !!!

Posted

Mai am 4 erori si 2 warninguri:

C:\Documents and Settings\IuLyAnBoSs\My Documents\BLODTZ\BLODTZ\pawno\include\streamer.inc(430) : warning 202: number of arguments does not match definition

C:\Documents and Settings\IuLyAnBoSs\My Documents\BLODTZ\BLODTZ\pawno\include\streamer.inc(444) : warning 202: number of arguments does not match definition

C:\Documents and Settings\IuLyAnBoSs\My Documents\BLODTZ\BLODTZ\gamemodes\hjhh.pwn(1314) : warning 236: unknown parameter in substitution (incorrect #define pattern)

C:\Documents and Settings\IuLyAnBoSs\My Documents\BLODTZ\BLODTZ\gamemodes\hjhh.pwn(1314) : warning 236: unknown parameter in substitution (incorrect #define pattern)

C:\Documents and Settings\IuLyAnBoSs\My Documents\BLODTZ\BLODTZ\gamemodes\hjhh.pwn(1314) : warning 236: unknown parameter in substitution (incorrect #define pattern)

C:\Documents and Settings\IuLyAnBoSs\My Documents\BLODTZ\BLODTZ\gamemodes\hjhh.pwn(1314) : error 029: invalid expression, assumed zero

C:\Documents and Settings\IuLyAnBoSs\My Documents\BLODTZ\BLODTZ\gamemodes\hjhh.pwn(1314) : warning 215: expression has no effect

C:\Documents and Settings\IuLyAnBoSs\My Documents\BLODTZ\BLODTZ\gamemodes\hjhh.pwn(1314) : error 001: expected token: ";", but found ")"

C:\Documents and Settings\IuLyAnBoSs\My Documents\BLODTZ\BLODTZ\gamemodes\hjhh.pwn(1314) : error 029: invalid expression, assumed zero

C:\Documents and Settings\IuLyAnBoSs\My Documents\BLODTZ\BLODTZ\gamemodes\hjhh.pwn(1314) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

4 Errors.

Uitati linia 1314

  GivePlayerMoneyEx(playerid, 75000);

GivePlayerMoneyEx(playerid, 75000); apartine de la :

public rob(playerid)//

{

PlayerROB[playerid] = 0;

    TogglePlayerControllable(playerid, 1);

    SendClientMessage(playerid, COLOR_1GREEN, "Felicitari, ai jefuit banca dar Politia va fi alertata !");

    GivePlayerMoneyEx(playerid, 75000);

    GameTextForPlayer(playerid, "~g~+75000$", 5000, 1);

    SetTimerEx("alertpolice", 20000, 0, "d", playerid);

}

NU pot vedea care ii gresala aicia :|

Respecta Si Vei Fi Respectat !!!

Guest
This topic is now closed to further replies.
×
×
  • 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.