- 0
Cerere Ajutor /BuyVip
-
Similar Content
-
- 4 replies
- 129 views
-
- 5 replies
- 291 views
-
- 1 reply
- 195 views
-
- 2 replies
- 183 views
-
- 2 replies
- 204 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
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.
Question
xt3z0ne
Nick:Johnny
Problema:Pai am dat de un /buyvip pe ore si cand pun la public OnDialogResponse numa erori imi da :|
Erori / warnings: [pawn]
D:\Games\DD SI DM\filterscripts\LuxAdmin.pwn(502) : error 017: undefined symbol "UpdateConfig"
D:\Games\DD SI DM\filterscripts\LuxAdmin.pwn(503) : error 017: undefined symbol "ReadTextDraws"
D:\Games\DD SI DM\filterscripts\LuxAdmin.pwn(522) : error 017: undefined symbol "ShowConfigInConsole"
D:\Games\DD SI DM\filterscripts\LuxAdmin.pwn(547) : error 004: function "SaveTeleport" is not implemented
D:\Games\DD SI DM\filterscripts\LuxAdmin.pwn(656) : error 004: function "SaveIn" is not implemented
D:\Games\DD SI DM\filterscripts\LuxAdmin.pwn(671) : error 004: function "SaveIn" is not implemented
D:\Games\DD SI DM\filterscripts\LuxAdmin.pwn(691) : error 004: function "SaveIn" is not implemented
D:\Games\DD SI DM\filterscripts\LuxAdmin.pwn(743) : error 004: function "SaveIn" is not implemented
D:\Games\DD SI DM\filterscripts\LuxAdmin.pwn(761) : error 017: undefined symbol "SavePlayerStats"
D:\Games\DD SI DM\filterscripts\LuxAdmin.pwn(1027) : error 004: function "MessageToPlayerVIP" is not implemented
D:\Games\DD SI DM\filterscripts\LuxAdmin.pwn(1028) : error 004: function "SaveIn" is not implemented
D:\Games\DD SI DM\filterscripts\LuxAdmin.pwn(1038) : error 004: function "MessageToAdmins" is not implemented
D:\Games\DD SI DM\filterscripts\LuxAdmin.pwn(1040) : error 004: function "SaveIn" is not implemented
D:\Games\DD SI DM\filterscripts\LuxAdmin.pwn(1069) : error 004: function "SaveIn" is not implemented
D:\Games\DD SI DM\filterscripts\LuxAdmin.pwn(1125) : error 004: function "SaveIn" is not implemented
D:\Games\DD SI DM\filterscripts\LuxAdmin.pwn(1166) : error 017: undefined symbol "AdvertisementCheck"
D:\Games\DD SI DM\filterscripts\LuxAdmin.pwn(1179) : error 004: function "SaveIn" is not implemented
D:\Games\DD SI DM\filterscripts\LuxAdmin.pwn(1226) : error 004: function "SaveIn" is not implemented
D:\Games\DD SI DM\filterscripts\LuxAdmin.pwn(1247) : error 004: function "SaveIn" is not implemented
D:\Games\DD SI DM\filterscripts\LuxAdmin.pwn(1576) : error 017: undefined symbol "BuyVip"
D:\Games\DD SI DM\filterscripts\LuxAdmin.pwn(1576) : error 017: undefined symbol "Cancel"
D:\Games\DD SI DM\filterscripts\LuxAdmin.pwn(1576) : error 029: invalid expression, assumed zero
D:\Games\DD SI DM\filterscripts\LuxAdmin.pwn(1576) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
23 Errors.
[/pawn]
Lini/script:
Daca scot asta.
[pawn]
//==============================================================================
if (dialogid == BuyVip)
{
if(response)
{
if(listitem == 0)
{
if AccInfo[playerid][hours] >= 20) //Orele care trebuie sa le aiba playerul
{
AccInfo[playerid][pVip] = 1; //Levelul la VIP
AccInfo[playerid][hours] -= 20;
}
else
{
SendClienMessage(playerid,green,"Nu ai destule ore pentru a cumpara VIP !"); //Mesajul daca nu are ore destule
}
}
if(listitem == 1)
{
if AccInfo[playerid][hours] >= 40) //Orele pentru a cumpara VIP
{
AccInfo[playerid][pVip] = 2; //Levelul de VIP
AccInfo[playerid][hours] -= 40;
}
else
{
SendClienMessage(playerid,green,"Nu ai destule ore pentru a cumpara VIP !"); //Mesajul daca nu are ore suficiente
}
}
if (listitem == 2)
{
if AccInfo[playerid][hours] >= 60) //Orele care trebuiesc pentru a cumpara VIP
{
AccInfo[playerid][pVip] = 3; //Levelul VIP
AccInfo[playerid][hours] = 60;
}
else
{
SendClienMessage(playerid,green,"Nu ai destule ore pentru a cumpara VIP !"); //Mesajul daca nu are destule ore
}
}
}
[/pawn] nu mai am erori .
Si asta-i comanda.
[pawn]
dcmd_buyvip(playerid,params[]) //Adaugati oriunde in GameMode
{
#pragma unused params
ShowPlayerDialog(playerid, BuyVip, DIALOG_STYLE_LIST,"BuyVip","{FFFFFF}Level 1 {FFAF00} --> {FF0000} 20 Ore\n{FFFFFF}Level 2 {FFAF00} --> {FF0000} 40 Ore\n{FFFFFF}Level 3 {FFAF00} --> {FF0000}60 Ore","Select","Cancel);
return 1;
}
[/pawn]
Ai incercat sa rezolvi singur ?: nu stiu ce naiba sai fac..
Sunt un retardat
Link to comment
Share on other sites
4 answers to this question
Recommended Posts