29.07.2008, 14:40
Quote:
Originally Posted by [D1zZy_vortex
]
nice but it dont need a script ! Код:
if(strcmp(cmdtext, "/Destroy", true, 10) == 0) { if(IsPlayerAdmin(playerid) == 1) if(IsPlayerInAnyVehicle(playerid)) { DestroyVehicle(GetPlayerVehicleID(playerid)); SendClientMessage(playerid, COLOR_DARKGREEN, "Car Has Been Successful Destroyed"); } else { SendClientMessage(playerid,COLOR_RED,"ERROR: You must be in a vehicle to destroy"); } return 1; } |