Jump to content

Recommended Posts

Posted

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"

Posted
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

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

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

Posted

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

Posted
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

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

Posted

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;
}

Posted (edited)
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
Posted
La 30.01.2017 la 0:24, AddisoN a spus:

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

care format? vad ca-i inchisa

Posted
1 hour ago, Senal said:

care format? vad ca-i inchisa

Ultimul format, si nu e inchisa. Ai doar o paranteza inchisa si anume cea de la pname,mai trebuie inca una

 

 

PS: ai doar un format

Posted (edited)
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
  • 4 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 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.