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

Recommended Posts

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
Posted

 loose indentation = ai dat un space(doua,trei) in plus.

Nu stiu de ce te-ai complicat sa o faci asa, erau mai multe metode, in care puteai economisi si linii. Mai bine pune o poza,sa vedem si numarul liniilor, sa te putem ajuta mai usor.

Posted
Acum 16 ore, _iCristiaN_ a spus:

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

mai inchide o acolada cu un rand inainte de return 1; si dupa aceea pune cursorul inainte de return 1; apasa tab si dupa compile si s s au rezolvat erorile

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.