16.02.2015, 16:21
sou iniciante em pawno, nгo sei se fiz alguma coisa errada.
linha do erro
Код HTML:
C:\Users\Dedsec\Downloads\Compressed\BWT 0.3ZR4\gamemodes\wt.pwn(321) : error 033: array must be indexed (variable "-unknown-")
Код HTML:
switch (classid)
Код HTML:
#define Truckdriver 1 #define MAX_PROFS 2 new classid[MAX_PROFS][30] = { {"Nulo"}, {"Caminhoneiro"} }; no OnDialogResponse if(dialogid == DialogRescue) { if(!response) { switch (classid) { case TruckDriver: { switch (listitem) { case 0: SetPlayerPos(playerid, -525.0, -502.0, 26.0); case 1: SetPlayerPos(playerid, -74.7, -1137.5, 4.5); case 2: SetPlayerPos(playerid, 1457.0, 975.5, 11.0); case 3: SetPlayerPos(playerid, -2136.0, -247.5, 36.5); case 4: SetPlayerPos(playerid, 1766.5, -2040.7, 14.0); case 5: SetPlayerPos(playerid, -546.0, 2594.0, 54.0); } } } } } } return 1; }