(33290) : error 001: expected token: \";\", but found \"return\"
if(strcmp(cmd, \"/fill\", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(IsPlayerInAnyVehicle(playerid))
{
SendClientMessage(playerid,COLOR_GREY,\"Kocsiból?? Te aztán powa vagy -__-\")
return 1;
}
if(IsAtGasStation(playerid))
{
GameTextForPlayer(playerid,\"~w~~n~~n~~n~~n~~n~~n~~n~~n~~n~Tankolás, kérlek várj\",2000,3);
SetTimer(\"Fillup\",RefuelWait,0);
Refueling[playerid] = 1;
}
else
{
SendClientMessage(playerid,COLOR_GREY,\" Nem vagy benzinkúton.\");
}
}
return 1;
Mi lehet a hiba?
if(IsPlayerInAnyVehicle(playerid))
{
SendClientMessage(playerid,COLOR_GREY,\"Kocsiból?? Te aztán powa vagy -__-\")
return 1;
}
A return 1; be van a hiba.. de nemtudom mi