Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×
  • 0

[Problema] O mica erroare la comanda /getlicense.


Question

Posted

Erroarea: 

C:\WSter RPG\gamemodes\wster.pwn(72073) : warning 217: loose indentation
C:\WSter RPG\gamemodes\wster.pwn(72075) : error 030: compound statement not closed at the end of file (started at line 72059)
Pawn compiler 3.2.3664     Copyright (c) 1997-2006, ITB CompuPhase

1 Error.
Comanda:
CMD:getlicense(playerid,params[])
{
if(IsPlayerConnected(playerid))
{
     new str[1400];
     PlayerInfo[playerid][pFlyLic] = 1;
     PlayerInfo[playerid][pFlyLicT] = 10;
     PlayerInfo[playerid][pBoatLic] = 1;
     PlayerInfo[playerid][pBoatLicT] = 10;
     PlayerInfo[playerid][pGunLic] = 1;
     PlayerInfo[playerid][pGunLicT] = 10;
     mysql_format(SQL,str,1400,"UPDATE users SET `FlyLic`='1',`FlyLicT`='10',`BoatLic`='1',`BoatLicT`='10',`GunLic`='1',`GunLicT`='10' WHERE `name`='%s'",PlayerInfo[playerid][pNormalName]);
     mysql_tquery(SQL,str,"","");
     {
                 SendClientMessage(playerid, COLOR_YELLOW,"Ai primit pentru 10 ore licenta de fly,boat,gun. Pentru a obtine licenta de driving, trebuie sa sustii examenul auto!");
                    }
 return 1;
}
Ma ajutati sa o rezolv? Multumesc ;)
Ps: Eu am incercat sa o fac ( se si vede.. :( )
Gm-ul pe care am incercat sa fac comanda este Wster RPG
 

 

1 answer to this question

Recommended Posts

  • 0
Posted (edited)

Mai inchide o acolada si coboara return-ul deasupra acolazii pe care o pui.

Edited by trrandafiru

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.