Error code
#2

pawn Код:
new Leader = PlayerInfo[playerid][pLeader];
new member = PlayerInfo[playerid][pMember];
if(CarInfo[vehicleid][cFaction] != 0)
{
        if(CarInfo[vehicleid][cFaction] != Leader)
        {
           SendClientMessage(playerid, COLOR_GREY, "You don't have the key of vehicle");
           RemovePlayerFromVehicle(playerid);
        }
}
Only use strcmp for strings.
Reply


Messages In This Thread
Error code - by Fab10 - 29.07.2010, 16:48
Re: Error code - by Carlton - 29.07.2010, 16:59
Re: Error code - by Vince - 29.07.2010, 17:00

Forum Jump:


Users browsing this thread: 1 Guest(s)