Mazoqu Faction cars script error
#1

This is the script
Quote:

if(newcar >= Mazoqu[0] && newcar <= Mazoqu[10])
{
if(PlayerInfo[playerid][pMember] != 13 && PlayerInfo[playerid][pLeader] != 13)
{
SendClientMessage(playerid,COLOR_WHITE,"Nu esti membru {47476B}Mazoku Al-Qaeda Family{FFFFFF}!");
RemovePlayerFromVehicle(playerid);
}
if(newcar >= Mazoqu[0] && <= Mazoqu[3] && PlayerInfo[playerid][pRank] < 1)
{
SendClientMessage(playerid,COLOR_GREY,"Iti trebuie {47476B}}rank 1{FFFFFF}!");
RemovePlayerFromVehicle(playerid);
}
if(newcar >= Mazoqu[4] && <= Mazoqu[5] && PlayerInfo[playerid][pRank] < 2)
{
SendClientMessage(playerid,COLOR_GREY,"Iti trebuie {47476B}rank 2{FFFFFF}!");
RemovePlayerFromVehicle(playerid);
}
if(newcar >= Mazoqu[6] && <= Mazoqu[8] && PlayerInfo[playerid][pRank] < 3)
{
SendClientMessage(playerid,COLOR_GREY,"Iti trebuie {47476B}rank 3{FFFFFF}!");
RemovePlayerFromVehicle(playerid);
}
if(newcar == Mazoqu[10] && PlayerInfo[playerid][pRank] < 4)
{
SendClientMessage(playerid,COLOR_GREY,"Iti trebuie {47476B}rank 4{FFFFFF}!");
RemovePlayerFromVehicle(playerid);
}
if(newcar == Mazoqu[9] && PlayerInfo[playerid][pRank] < 5)
{
SendClientMessage(playerid,COLOR_GREY,"Iti trebuie {47476B}rank 5{FFFFFF}!");
RemovePlayerFromVehicle(playerid);
}
}

And this is the error
Quote:

C:\Users\Marian\Desktop\Server SAMP\gamemodes\XGamers.pwn(10230) : error 029: invalid expression, assumed zero
C:\Users\Marian\Desktop\Server SAMP\gamemodes\XGamers.pwn(10230) : warning 215: expression has no effect
C:\Users\Marian\Desktop\Server SAMP\gamemodes\XGamers.pwn(10230) : error 001: expected token: ";", but found ")"
C:\Users\Marian\Desktop\Server SAMP\gamemodes\XGamers.pwn(10230) : error 029: invalid expression, assumed zero
C:\Users\Marian\Desktop\Server SAMP\gamemodes\XGamers.pwn(10230) : fatal error 107: too many error messages on one line

Any ideas?
Reply
#2

Nevermind. I found my problem. Forgot to add "newcar" . T.C. please
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)