[Suggestion] Some Suggestions for scripting for OMP - Printable Version + open.mp forum (https://forum.open.mp) -- Forum: open.mp (https://forum.open.mp/forumdisplay.php?fid=40) --- Forum: Questions and Suggestions (https://forum.open.mp/forumdisplay.php?fid=42) --- Thread: [Suggestion] Some Suggestions for scripting for OMP (/showthread.php?tid=691) |
Some Suggestions for scripting for OMP - SkeeZy - 2019-07-06 Hey, i got some more ideas for functions that could be very useful for scripters in OpenMP. 1. pause/sleep(time in s/ms) I think everyone knows what i mean with that. If we had the ability to use this instead of timers directly in commands or functions it would be easier to script time based stuff. EDIT: THIS SHOULD NOT REPLACE TIMERS BUT BE ADDITIONAL TO IT AS AN EXTRA FUNCTION Example: You send a message to the Player per command. After that the function should stop for 3seconds and then the rest of the function can be done. Code: SendClientMessage(playerid, COLOR, "Trying to tow the nearest Vehicle. ?Please wait"); 2. AttachVehicleToVehicle(vehicleid, tovehicleid, offset:x, offset:y, offset:z) I was wondering why this was not already implemented in samp. It could work the same way AttachTrailerToVehicle/AttachObjectToVehicle works and would be very useful for many servers e.g. on reallife or trucker servers, where you need to tow vehicles or transport them on the packer. The only possible way i know for doing this since yet is using a timer, which teleports the vehicle again and again and is not that good for the servers performance. 3. Colorable Checkpoints (ARGB): SetCheckpointColor(checkpointid, a, r, g, b) 4. Vehicleobjects Objects with the texture of gta sa vehicles. They could be very useful for mappers and serverowners to create new places and jobs with it. I saw the first two points in a couple samp forums and also needed them for my own server.? I think they could atleast be good for some updates after the official OpenMP release RE: Some Suggestions for scripting for OMP - Freaksken - 2019-07-07
RE: Some Suggestions for scripting for OMP - SkeeZy - 2019-07-07 (2019-07-07, 06:50 PM)Freaksken Wrote: For 1. I didnt mean it should be replaced but Maybe there could be a second function to do the explained. 2. Is there a checkpoint object? If so, something like HideCheckpoint() could be added and a the object can Play set onto it :D And i also got some questions now: 1. Is it true that object and vehicle limits will be changed, so that we can use more objects and vehicles on the servers ? 2. Will the liberty city and vice city maps from SAMP 0.3.DL be working for openMP ? RE: Some Suggestions for scripting for OMP - Freaksken - 2019-07-08 (2019-07-07, 10:18 PM)SkeeZy Wrote: And i also got some questions now:
|