CMD:solanconlai(playerid, params[]) { new title[128], string[1028]; format(title, sizeof(title), "Kiem Tra Tien Trinh Cong Viec - %s", GetPlayerNameEx(playerid)); format(string, sizeof(string), "Pizza: %d/50 Lan giao banh nua\nTrucker: %d/30 Lan giao hang nua\nNgu Dan: %d/20 Lan ban ca nua\nFram Vat Lieu: %d/100 Lan tra vat lieu\nNong Dan: %d/50 Lan gat lua / giao nong san\nSan Nai: %d/20 Lan ban thit nai nua\nPhuc Vu : %d 20 Lan Phuc vu khach nua",PlayerInfo[playerid][pPizza_Count],PlayerInfo[playerid][pTrucker_Count],PlayerInfo[playerid][pFishing_Count],PlayerInfo[playerid][pMaterial_Count],PlayerInfo[playerid][pFarmer_Count],PlayerInfo[playerid][pNai_Count],PlayerInfo[playerid][pPhucVu_Count]); ShowPlayerDialog(playerid, DIALOG_NOTHING, DIALOG_STYLE_MSGBOX, title, string, "Dong", ""); if(PlayerInfo[playerid][pDonateRank] == 3) { format(title, sizeof(title), "Kiem Tra Tien Trinh Cong Viec - %s", GetPlayerNameEx(playerid)); format(string, sizeof(string), "Pizza: %d/75 Lan giao banh nua\nTrucker: %d/50 Lan giao hang nua\nNgu Dan: %d/35 Lan ban ca nua\nFram Vat Lieu: %d/200 Lan tra vat lieu\nNong Dan: %d/75 Lan gat lua\ \nSan Nai: %d/35 Lan ban thit nai nua\nPhuc Vu : %d/35 Lan phuc vu khach nua",PlayerInfo[playerid][pPizza_Count],PlayerInfo[playerid][pTrucker_Count],PlayerInfo[playerid][pFishing_Count],PlayerInfo[playerid][pMaterial_Count],PlayerInfo[playerid][pFarmer_Count],PlayerInfo[playerid][pNai_Count],PlayerInfo[playerid][pPhucVu_Count]); ShowPlayerDialog(playerid, DIALOG_NOTHING, DIALOG_STYLE_MSGBOX, title, string, "Dong", ""); } return 1; }
./File/GTA-RP.pwn(123226) : error 075: input line too long (after substitutions) ./File/GTA-RP.pwn(123227) : error 017: undefined symbol "Pla" ./File/GTA-RP.pwn(123228) : warning 217: loose indentation ./File/GTA-RP.pwn(123228) : error 017: undefined symbol "yerInfo" ./File/GTA-RP.pwn(123228) : warning 215: expression has no effect ./File/GTA-RP.pwn(123228) : error 001: expected token: ";", but found "]" ./File/GTA-RP.pwn(123228) : error 029: invalid expression, assumed zero ./File/GTA-RP.pwn(123228) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 6 Errors.
This is fixed in the updated compiler: https://github.com/pawn-lang/compiler/releases
|
C:\gta-rp.vn\linux\linux\pawno\include\sscanf2.inc(39) : fatal error 111: user error: sscanf (possibly the PAWN version) already defined. Compilation aborted. Pawn compiler 3.10.8 Copyright © 1997-2006, ITB CompuPhase 1 Error.
That means you have sscanf defined somewhere else in your code. Removing it should fix that issue, since sscanf2 is far superior to the PAWN version.
|
#error sscanf (possibly the PAWN version) already defined.