31.03.2009, 08:29
pawn Код:
if(strcmp(cmd, "/attach", true) == 0)
{
if(IsPlayerInAnyVehicle(playerid))
{
new vehid;
new vehid2;
vehid = GetPlayerVehicleID(playerid);
vehid2 = GetClosestCar(playerid);
AttachTrailerToVehicle(vehid,vehid2);
}
return 1;
}