06.03.2015, 20:25
Olб todos! Eu de novo... Eu estou tentando montar um servidor bбsico, meu primeiro GameMode do zero e blб, blб, blб... O seguinte й que eu bati com uma barreira e nгo consigo continuar. Eis as linhas em que tais problemas estгo localizados:
E o maravilhoso erro:
Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == DIALOG_CORES) { if(response) { switch(listitem) { case 0: SetPlayerColor(playerid, 0xFF0000FF); } } return 1; } if(dialogid == DIALOG_DRIFT) { if(response) { switch{listitem) //Linha 518 <- Aqui fica o erro { case 0: SetPlayerPos(playerid, -344.1902,1539.1670,75.7046,270.1238); //Linha 520 <- Aqui fica o Warning } } return 1; } return 0; }
Код:
E:\SA-MP Server Script 0.3z\ISC Recording Server\Painel\gamemodes\DriftMasters.pwn(518) : error 008: must be a constant expression; assumed zero E:\SA-MP Server Script 0.3z\ISC Recording Server\Painel\gamemodes\DriftMasters.pwn(520) : warning 202: number of arguments does not match definition Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.