Errori

Započeo 1337
9. Jul 2017. Zaključano
505
pregleda
9
postova
Sela :)
4
Shot Caller
9. Jul 2017.
Skripta koju koristim:Mod od 0,"Dynamic Organization"
Detaljan opis problema:Ubacio sam ovaj sistem i pojavilo se par problema.
Dio skripte:
if( OrgCreate[ playerid ] == 0;){

Neke slike/video za lakse dobivanje pomoci(neobavezno):
C:\Users\user\Desktop\Guenatroy RP\Guentroy RP - v0.0.1\gamemodes\GP.pwn(102) : error 029: invalid expression, assumed zero
C:\Users\user\Desktop\Guenatroy RP\Guentroy RP - v0.0.1\gamemodes\GP.pwn(102) : error 029: invalid expression, assumed zero
C:\Users\user\Desktop\Guenatroy RP\Guentroy RP - v0.0.1\gamemodes\GP.pwn(102) : warning 215: expression has no effect
C:\Users\user\Desktop\Guenatroy RP\Guentroy RP - v0.0.1\gamemodes\GP.pwn(102) : error 001: expected token: ";", but found "]"
C:\Users\user\Desktop\Guenatroy RP\Guentroy RP - v0.0.1\gamemodes\GP.pwn(102) : fatal error 107: too many error messages on one line
Sela :)
4
Shot Caller
9. Jul 2017.
Hitno.

@CADILAB @MEDO
ogi corleone
4
Made Man
9. Jul 2017.
ne treba ti ; kod if
Sela :)
4
Shot Caller
9. Jul 2017.
Makno sam i to al opt isto.
ogi corleone
4
Made Man
9. Jul 2017.
pošalji ponovo errore i kod novi
Sela :)
4
Shot Caller
9. Jul 2017.
C:\Users\user\Desktop\Guenatroy RP\Guentroy RP - v0.0.1\gamemodes\GP.pwn(102) : error 029: invalid expression, assumed zero
C:\Users\user\Desktop\Guenatroy RP\Guentroy RP - v0.0.1\gamemodes\GP.pwn(102) : error 029: invalid expression, assumed zero
C:\Users\user\Desktop\Guenatroy RP\Guentroy RP - v0.0.1\gamemodes\GP.pwn(102) : warning 215: expression has no effect
C:\Users\user\Desktop\Guenatroy RP\Guentroy RP - v0.0.1\gamemodes\GP.pwn(102) : error 001: expected token: ";", but found "]"
C:\Users\user\Desktop\Guenatroy RP\Guentroy RP - v0.0.1\gamemodes\GP.pwn(102) : fatal error 107: too many error messages on one line
if( OrgCreate[ playerid ] == 0){
ogi corleone
4
Made Man
9. Jul 2017.
ceo kod koji se nalazi između { i } od orgcreate
Sela :)
4
Shot Caller
9. Jul 2017.
	}
if( dialogid == DIALOG_ORGNAME && response ) {
        new id, ime[ ORG_NAME ], ImaFajl[ 50 ];
if(sscanf( inputtext, "is", id, ime ) ) return ShowPlayerDialog(playerid, DIALOG_ORGNAME, DIALOG_STYLE_INPUT, "Dimi Scripting", "Enter ID and name of organization!", "Confirm", "Cancel");
        format( ImaFajl, sizeof( ImaFajl ), O_FILE, id );
if( !fexist( ImaFajl ) ) return SendClientMessage(playerid, COLOR_RED, "That organization doesn't exist." );
if( OrgCreate[ playerid ] == 0){
strmid(OI, ime, 0, strlen(ime), ORG_NAME);
SaveOrganization( id ) ; Orge3D( id );
va_SendClientMessage( playerid, COLOR_GREEN, "Promenili ste ime organizacije(ID: %d ) u %s!", id, ime ); }
}
Danisoni
5
Godfather
9. Jul 2017.
Ovo bi trebalo da radi, ako ne, do neceg drugog je problem (mozda prethodni dialog)
if( dialogid == DIALOG_ORGNAME && response ) 
{
        new id, ime[ ORG_NAME ], ImaFajl[ 50 ];
if(sscanf( inputtext, "is", id, ime ) ) return ShowPlayerDialog(playerid, DIALOG_ORGNAME, DIALOG_STYLE_INPUT, "Dimi
        Scripting", "Enter ID and name of organization!", "Confirm", "Cancel");
        format( ImaFajl, sizeof( ImaFajl ), O_FILE, id );
if( !fexist( ImaFajl ) ) return SendClientMessage(playerid, COLOR_RED, "That organization doesn't exist." );
if( OrgCreate[ playerid ] == 0)
{
strmid(OI, ime, 0, strlen(ime), ORG_NAME);
SaveOrganization( id ) ; Orge3D( id );
va_SendClientMessage( playerid, COLOR_GREEN, "Promenili ste ime organizacije(ID: %d ) u %s!", id, ime );
}
}

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha