13.04.2011, 13:44
Quote:
|
Try putting new CarCheck = GetPlayerVehicleID(playerid); inside of your if statements(or in your functions) and not at the top... as such
Код:
if(strcmp(cmd, "/whatever", true) == 0)
{
if(IsPlayerConnected(playerid))
{
new CarCheck = GetPlayerVehicleID(playerid);
if(IsAWhateverCar(CarCheck))
{
then do whatever
}
}
return 1;
}
|
Although that code might help.. Ill check it later xD


