06.03.2011, 14:47
I have this codes, but they don't work.
I don't know what should i do to make them work. ?
I don't know what should i do to make them work. ?
pawn Код:
public IsARentBike(carid)
{
/*for(new i = 1; i < sizeof(CarInfo); i++)
{
if(CarInfo[i][cFaction] == 20) return 1;
}*/
for(new i = 0; i<MAX_PLAYERS; i++)
{
new vehid = GetPlayerVehicleID(i);
if(vehid = 327)
{
return 1;
}
}
return 0;
}
pawn Код:
public IsARentBike(carid)
{
for(new i = 1; i < sizeof(CarInfo); i++)
{
if(CarInfo[i][cFaction] == 20) return 1;
}
return 0;
}