Jump to content

erori


Senal

Recommended Posts

Am si eu probleme cu aceste erori, am bagat sistemul de vip si-mi da erorile astea la restu' nu-mi da cu erorile astea am probleme :)

poate aveti voi idee de ce face asa :) +1 pt cel care ma ajuta ;)

(40732) : error 017: undefined symbol "pName"
(40733) : error 017: undefined symbol "VIPCHAT"
(40749) : error 017: undefined symbol "pName"
(40750) : error 017: undefined symbol "VIPCHAT"
(40760) : error 017: undefined symbol "DIALOG_VIPWHEELS"

Link to comment
Share on other sites

9 minutes ago, Senal said:

Am si eu probleme cu aceste erori, am bagat sistemul de vip si-mi da erorile astea la restu' nu-mi da cu erorile astea am probleme :)

poate aveti voi idee de ce face asa :) +1 pt cel care ma ajuta ;)

(40732) : error 017: undefined symbol "pName"
(40733) : error 017: undefined symbol "VIPCHAT"
(40749) : error 017: undefined symbol "pName"
(40750) : error 017: undefined symbol "VIPCHAT"
(40760) : error 017: undefined symbol "DIALOG_VIPWHEELS"

#define DIALOG_VIPWHEELS 6969

si restul nu stiu ce fel de variabile sunt ca sa iti pot arata, trebuie sa-mi dai liniiile cu erorile

 

  • Upvote 1

**********************************

Servicii Scripting de calitate:

*********************************

Future Project: ExpertGame

*********************************

Link to comment
Share on other sites

Acum 1 minut, DaEdRiC-FoX a spus:

#define DIALOG_VIPWHEELS 6969

si restul nu stiu ce fel de variabile sunt ca sa iti pot arata, trebuie sa-mi dai liniiile cu erorile

 

gamemodes\gm.pwn(40733) : error 017: undefined symbol "pName"
gamemodes\gm.pwn(40734) : error 017: undefined symbol "VIPCHAT"
gamemodes\gm.pwn(40750) : error 017: undefined symbol "pName"
gamemodes\gm.pwn(40751) : error 017: undefined symbol "VIPCHAT"
gamemodes\gm.pwn(40788) : error 010: invalid function or declaration
Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase

am bagat cum mi-ai zis #define :)


5 Errors.

Link to comment
Share on other sites

am rezolvat acum imi da asa

gamemodes\gm.pwn(40736) : error 012: invalid function call, not a valid address
gamemodes\gm.pwn(40736) : warning 215: expression has no effect
gamemodes\gm.pwn(40736) : error 001: expected token: ";", but found ")"
gamemodes\gm.pwn(40736) : error 029: invalid expression, assumed zero
gamemodes\gm.pwn(40736) : fatal error 107: too many error messages on one line

Link to comment
Share on other sites

3 minutes ago, Senal said:

am rezolvat acum imi da asa

gamemodes\gm.pwn(40736) : error 012: invalid function call, not a valid address
gamemodes\gm.pwn(40736) : warning 215: expression has no effect
gamemodes\gm.pwn(40736) : error 001: expected token: ";", but found ")"
gamemodes\gm.pwn(40736) : error 029: invalid expression, assumed zero
gamemodes\gm.pwn(40736) : fatal error 107: too many error messages on one line

da si liniileee...

**********************************

Servicii Scripting de calitate:

*********************************

Future Project: ExpertGame

*********************************

Link to comment
Share on other sites

CMD:viprep(playerid,params[])
{
if(PlayerInfo[playerid][pVIP] == 0)return SCM(playerid, COLOR_GREY, "You are not a VIP.");
if(PlayerInfo[playerid][pVIP] >= 1)
{
if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You're not in a vehicle.");

RepairVehicle(GetPlayerVehicleID(playerid));
new szMessage[502];
format(szMessage, sizeof(szMessage), "{F2CF09}(Info) VIP %s has fixed his vehicle.", pName(playerid);
VIPCHAT(-1, szMessage);
}
return 1;
}

Link to comment
Share on other sites

2 hours ago, Senal said:

CMD:viprep(playerid,params[])
{
if(PlayerInfo[playerid][pVIP] == 0)return SCM(playerid, COLOR_GREY, "You are not a VIP.");
if(PlayerInfo[playerid][pVIP] >= 1)
{
if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You're not in a vehicle.");

RepairVehicle(GetPlayerVehicleID(playerid));
new szMessage[502];
format(szMessage, sizeof(szMessage), "{F2CF09}(Info) VIP %s has fixed his vehicle.", pName(playerid);
VIPCHAT(-1, szMessage);
}
return 1;
}

Din cate observ pName si VIPCHAT sunt 2 functii pe care probabil ai uitat sa le copiezi cand ai bagat sistemu 

 

Edit nu ai inchis paranteza de la format

Edited by AddisoN
Link to comment
Share on other sites

1 hour ago, Senal said:

pai tocmai

Tu ai format(szMessage, sizeof(szMessage), "{F2CF09}(Info) VIP %s has fixed his vehicle.", pName(playerid); si trebuie format (szMessage, sizeof(szMessage), "{F2CF09}(Info) VIP %s has fixed his vehicle.", pName(playerid));

Edited by AddisoN
Link to comment
Share on other sites

  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.