24.04.2010, 14:45
else
{
if(IsAnFarmer(playerid))
{
if(FarmerSpawn[playerid] == 0)
{
FarmerSpawn[playerid] = 1;
SendClientMessage(playerid, COLOR_GREY, " You will now spawn at the Normal Farm !");
}
else if(FarmerSpawn[playerid] == 1)
{
FarmerSpawn[playerid] = 0;
SendClientMessage(playerid, COLOR_GREY, " You will now spawn at the Drugs Farm !");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " You dont own / rent a House !");
return 1;
}
}
}
return 1;
}
wtf is wrong??
error 029: invalid expression, assumed zero help plz
{
if(IsAnFarmer(playerid))
{
if(FarmerSpawn[playerid] == 0)
{
FarmerSpawn[playerid] = 1;
SendClientMessage(playerid, COLOR_GREY, " You will now spawn at the Normal Farm !");
}
else if(FarmerSpawn[playerid] == 1)
{
FarmerSpawn[playerid] = 0;
SendClientMessage(playerid, COLOR_GREY, " You will now spawn at the Drugs Farm !");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " You dont own / rent a House !");
return 1;
}
}
}
return 1;
}
wtf is wrong??
error 029: invalid expression, assumed zero help plz