16.05.2012, 12:43
put it out of OnPlayerCommandText
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { return 0; } CMD:detach(playerid, params[]) { new var0 = 0; var0 = GetPlayerVehicleID(playerid); DetachTrailerFromVehicle(var0); SendClientMessage(playerid, 0x00FF00FF, "Trailer Detached"); return 1; }