Jump to content
  • 0

Problema - Sistem Admin


MrAndrei

Question

Problema intalnita (descriere): Eroare la compilare
Ero(area / rile) / warning-(ul / urile): Am luat un sistem de admin, sau mai bine zis doar comanda [/setadmin] , si am implementat-o in GM-ul meu. Insa, am eroare cand il compilez.
Liniile de cod / sursa / script-ul(obligatoriu):

C:\Users\Andrei\Desktop\Gamemode R-G\Gamemode\gamemodes\WiD.pwn(971 -- 972) : error 001: expected token: ",", but found "["
C:\Users\Andrei\Desktop\Gamemode R-G\Gamemode\gamemodes\WiD.pwn(972) : error 029: invalid expression, assumed zero
C:\Users\Andrei\Desktop\Gamemode R-G\Gamemode\gamemodes\WiD.pwn(972) : warning 215: expression has no effect
C:\Users\Andrei\Desktop\Gamemode R-G\Gamemode\gamemodes\WiD.pwn(972) : error 001: expected token: ";", but found "]"
C:\Users\Andrei\Desktop\Gamemode R-G\Gamemode\gamemodes\WiD.pwn(972) : 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.

 

Linia 971-972 :

 

mysql_format(handle, saveQuery, sizeof(saveQuery), "UPDATE playeraccounts SET playerAdminLevel = '%d', playerJob = '%d', playerWeapon0 = '%d', playerWeapon1 = '%d', playerWeapon2 = '%d', playerWeapon3 = '%d' WHERE playerID = '%d'",
		playerVariables[playerid][pAdminLevel], playerVariables[playerid][pJob], playerVariables[playerid][pWeapons][0], playerVariables[playerid][pWeapons][1], playerVariables[playerid][pWeapons][2], playerVariables[playerid][pWeapons][3], playerVariables[playerid][pInternalID]);


Imagini / Video (optional):-
Ati incercat sa rezolvati singur?: Da, dar nu am reusit.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • 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.