Balkan SA:MP

PAWN skriptanje, gamemodovi, filterskripte, include fajlovi, mape, pluginovi => Razgovor u vezi PAWN - skriptanja => Temu započeo: VuKaN poslato Avgust 14, 2016, 17:21:57 POSLE PODNE

Naslov: [Pomoć] Modreq u dialogu
Poruka od: VuKaN poslato Avgust 14, 2016, 17:21:57 POSLE PODNE
Skripta koju koristim: Moja
Opis problema:
(63274) : warning 202: number of arguments does not match definition
(63275) : warning 202: number of arguments does not match definition
(63277) : error 001: expected token: "-string end-", but found "-identifier-"
(63277) : warning 215: expression has no effect
(63277) : error 001: expected token: ";", but found "-string-"
(63277) : warning 215: expression has no effect
D(63277) : error 001: expected token: ";", but found ")"
(63277) : fatal error 107: too many error messages on one line

Deo skripte: 63274: [pawn]askqList[ askid ][ askqSend ] = false;[/pawn]
63275 : [pawn]new idd = askqList[ askid ][ askqID ];[/pawn]
63277 : [pawn]if(strcmp( GetName( idd ), askqList[ askid ][ askqOwner ], true ) == 0 )[/pawn]
Naslov: Odg: [Pomoć] Modreq u dialogu
Poruka od: BlueBaron poslato Avgust 15, 2016, 16:24:45 POSLE PODNE
Kako si definirao askqList ?
Naslov: Odg: [Pomoć] Modreq u dialogu
Poruka od: VuKaN poslato Avgust 15, 2016, 16:35:25 POSLE PODNE
[pawn]enum askqData
{
    bool:askqSend,
    askqOwner[ MAX_PLAYER_NAME ],
    askqID,
   askqQuestion[ 128 ]
};
new askqList[ MAX_ASKQS ][ askqData ];
[/pawn]
Naslov: Odg: [Pomoć] Modreq u dialogu
Poruka od: VuKaN poslato Avgust 15, 2016, 19:27:17 POSLE PODNE
Rešeno.