Jump to content

Problema copilare /givesalary


qStroKe

Recommended Posts

Buna ziua. Recent am adaugat o noua comanda in gm si imi da cateva erori pe care nu inteleg cum sa le rezolv. Imi puteti da niste sfaturi cum le-as putea rezolva? 

C:\Users\StroKe\Desktop\Programe inutile\Gamemode\gamemodes\stroke.pwn(25253) : error 017: undefined symbol "playerVariables"
C:\Users\StroKe\Desktop\Programe inutile\Gamemode\gamemodes\stroke.pwn(25253) : warning 215: expression has no effect
C:\Users\StroKe\Desktop\Programe inutile\Gamemode\gamemodes\stroke.pwn(25253) : error 001: expected token: ";", but found "]"
C:\Users\StroKe\Desktop\Programe inutile\Gamemode\gamemodes\stroke.pwn(25253) : error 029: invalid expression, assumed zero
C:\Users\StroKe\Desktop\Programe inutile\Gamemode\gamemodes\stroke.pwn(25253) : fatal error 107: too many error messages on one line
 
 
Linia 25235. CMD:givesalary(playerid, params[])
{
    new id;
    if(sscanf(params, "u", id)) return SendClientMessage(playerid, -1, "Syntax: /givesalary [playerid]");
    if(playerVariables[playerid][pGroupRank] == 7)
    {
Multumesc anticipat.
Edited by qStroKe
Link to comment
Share on other sites

Ai luat comanda din alt gm si ai pus-o in al tau direct? Trebuia sa modifici cu variabila ta a playerilor pdata sau pinfo

 

    __  ____      __           
   /  |/  (_)____/ /____  _____
  / /|_/ / / ___/ __/ _ \/ ___/
 / /  / / (__  ) /_/  __/ /    
/_/  /_/_/____/\__/\___/_/     
SERVICII SCRIPTING DE CALITATE
Pagina     Scripting     pawn
Link to comment
Share on other sites

3 hours ago, qStroKe said:

Imi poti spune exact cum?

Sa stiu unde trebuie modificat mai exact.

Asta e o problemă de Scripting, postează.o unde trebuie, după model, si postează acolo toată comanda nu doar o bucată, ca eroare se poate afla mai sus sau mai jos fata de linia care ti.o arată când compilezi.

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

Servicii Scripting de calitate:

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

Future Project: ExpertGame

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

Link to comment
Share on other sites

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.