26.06.2013, 10:13
Getting problems with this cmd
i want to when player use this cmd then must be all objects which attached to vehicle will be removed
Код:
if (strcmp("/vremove", cmdtext, true, 10) == 0) { new vehicleid = GetPlayerVehicleID(playerid), msg[128]; format(msg, 128, "%d vehicle objects removed", RemoveObjectsFromVehicle(vehicleid)); SendClientMessage(playerid, 0xFFFFFFFF, msg); return 1; }