16.05.2014, 16:35
Oks so all should be ok but now i get errors on compile ;/
Code:
Errors:
Code:
PHP код:
3469 dcmd_stats(playerid,params[])
3470 {
3471 #pragma unused params
3472 new statz[1024];
3473 format(statz, sizeof (statz),
3474 "Score: %d\nBank: %d\nMoney: $%d\nAdmin: %d\nArmy: %d\nSWAT: %d\nRegular: %d\nTerrorLVL: 3475%d\nRobbberLVL: %d\nC4: %d\nRope: %d",
3476 GetPlayerScore[playerid], BankCash[playerid], GetPlayerMoney[playerid], AdminLevel[playerid], 3477CanUseArmy[playerid], CanUseSWAT[playerid],
3478 IsRegularPlayer[playerid], TerroristSkill[playerid], RobSkill[playerid], HasC4[playerid], HasRope[playerid]);
3479 ShowPlayerDialog(playerid,644,DIALOG_STYLE_MSGBOX,"Stats",statz,"Close","");
3480 return 1;
3481 }
PHP код:
:\Users\WeeD\Desktop\Okay\Mans CNR serveris\gamemodes\NLCNR.pwn(3473 -- 3475) : error 028: invalid subscript (not an array or too many subscripts): "GetPlayerScore"
C:\Users\WeeD\Desktop\Okay\Mans CNR serveris\gamemodes\NLCNR.pwn(3475) : warning 215: expression has no effect
C:\Users\WeeD\Desktop\Okay\Mans CNR serveris\gamemodes\NLCNR.pwn(3475) : error 001: expected token: ";", but found "]"
C:\Users\WeeD\Desktop\Okay\Mans CNR serveris\gamemodes\NLCNR.pwn(3475) : error 029: invalid expression, assumed zero
C:\Users\WeeD\Desktop\Okay\Mans CNR serveris\gamemodes\NLCNR.pwn(3475) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.