16.08.2011, 11:54
Hello everyone, I have a errror with pawno
here is the errors
sorry for my English, I'm Italian
Thanks in advance
here is the errors
pawn Код:
D:\Desktop\Server\Lipton\gamemodes\liptonrp.pwn(3575) : error 029: invalid expression, assumed zero
D:\Desktop\Server\Lipton\gamemodes\liptonrp.pwn(3575) : warning 215: expression has no effect
D:\Desktop\Server\Lipton\gamemodes\liptonrp.pwn(3575) : error 001: expected token: ";", but found ")"
D:\Desktop\Server\Lipton\gamemodes\liptonrp.pwn(3575) : error 029: invalid expression, assumed zero
D:\Desktop\Server\Lipton\gamemodes\liptonrp.pwn(3575) : fatal error 107: too many error messages on one line
pawn Код:
if(Keys == KEY_ANALOG_UP ,, Keys == KEY_WALK);
{
if(selezionato[playerid] < 4)
{
selezionato[playerid] = selezionato[playerid] + 14 - 3;
}else{
selezionato[playerid] -= 3;
}
Draw(playerid);
}
if(Keys == KEY_ANALOG_DOWN ,, Keys == KEY_SPRINT && GetPlayerState(playerid)!=PLAYER_STATE_DRIVER)
{
if(selezionato[playerid] > 11)
{
selezionato[playerid] = selezionato[playerid] - 14 + 3;
}else{
selezionato[playerid] += 3;
}
Draw(playerid);
}
if(Keys ==KEY_ACTION)
{
new sel;
sel=selezionato[playerid];
if(sel==12)
{
if(Player[playerid][cifre] >= 1)
{
strdel(Player[playerid][composed], Player[playerid][cifre]-1, Player[playerid][cifre]);
TextDrawSetString(numero[playerid],Player[playerid][composed]);
Player[playerid][cifre]--;
}
}
if(sel==14)
{
DestroyCellTextDraws(playerid);
new i = playerid;
Player[i][composed] = 0;
Player[i][cifre] = 0;
mode[playerid] = 0;
TextDrawHideForAll(dietro[i]);
TextDrawHideForAll(n73[i]);
TextDrawHideForAll(display[i]);
TextDrawHideForAll(marca[i]);
TextDrawHideForAll(fotocamera[i]);
TextDrawHideForAll(joy[i]);
TextDrawHideForAll(box[i]);
TextDrawHideForAll(stt[i]);
TextDrawHideForAll(uno[i]);
TextDrawHideForAll(due[i]);
TextDrawHideForAll(tre[i]);
TextDrawHideForAll(quattro[i]);
TextDrawHideForAll(cinque[i]);
TextDrawHideForAll(sei[i]);
TextDrawHideForAll(sette[i]);
TextDrawHideForAll(otto[i]);
TextDrawHideForAll(nove[i]);
TextDrawHideForAll(asterisco[i]);
TextDrawHideForAll(zero[i]);
TextDrawHideForAll(cancelletto[i]);
TextDrawHideForAll(rosso[i]);
TextDrawHideForAll(verde[i]);
}
Thanks in advance