18.10.2010, 20:29
pawn Код:
public OnGameModeInit()
{
SetTimer("Gay", 50, 1);
return 1;
}
forward Gay(playerid);
public Gay(playerid)
{
new vehicleid = GetPlayerVehicleID(playerid);
if(IsTrailerAttachedToVehicle(vehicleid))
{
//Minha funcao
}
return 1;
}