Search Results
If you using y_hooks why don't you use y_vehicledata instead creating another array for vehicle names?
2,792
Quote: Originally Posted by polygxn You can try to find the Z coordinate with MapAndreas and spawn the vehicle there. Maybe... It's still appears when I manually create a spawn point.
116
Hey I'm using GetVehicleModelInfo function with VEHICLE_MODEL_INFO_WHEELSFRONT parameter and increase the spawning height with, but sometimes it still bugged into the ground. Is there any way to avoi...
116
I've had issues with locking vehicle for players except the driver. This is my whole code HTML Code: new engine, lights, alarm, doors, bonnet, boot, objective; GetVehicleParamsEx(vehicleid, engine, ...
190
Quote: Originally Posted by Dignity pawn Code: // Credits to AbyssMorganstock Float:GetDistanceBetweenPoints3D(Float:x1,Float:y1,Float:z1,Float:x2,Float:y2,Float:z2){    return VectorSi...
346
Quote: Originally Posted by MP2 https://github.com/samp-incognito/sa...ives-(Settings) See Streamer_SetVisibleItems. As pointed out by Anthony. Still bad answer. This will be limit all...
346
It would be better if you use SetPlayerChatBubble instead of sending client messages to the player that the NPC saying.
1,040
Hey there How I can limit amount of models that streamer streams for the player? For example I want to avoid this: So I'd like to show 5 green house icon at this location. (I don't want to limit t...
346
Quote: Originally Posted by Y_Less The multi iterator version Crayder mentioned would be better. Your code could have a player in multiple vehicles at once, which can't happen. Instead: ...
260
Quote: Originally Posted by raydx Init only once under ongamemodeinit (without vehicleid parameter). Oh I corrected, thanks
260
Quote: Originally Posted by m4karow I'm using it like that. Code: foreach(new passenger : VehiclePassengers[vehicleid]) { } Code: Iter_Add(VehiclePassengers[vehicleid], playerid); Code...
260
Quote: Originally Posted by Crayder Yeah this is actually exactly what you probably want to do! Nice usage of an iterator... however, you may want to use "multi-iterators" instead of an ar...
260
Hey Is it a good idea to save the passengers to an iterator for faster loop through passengers or finding the vehicle driver? I'll have about 1700 vehicles. Code: static Iterator:VehiclePassengers[...
260
Hey there I've noticed my FIXES_OnPlayerUpdate returning 0. I've put debug code where it have return 0; but it's not printed. This is the default code: Code: return FIXES_OnPlayerUpdate(playerid)...
95
Quote: Originally Posted by Kaliber Just check OnPlayerKeyStateChange There you can check if he presses Q and can instant check if the weapon got changed So you dont need unnecessary c...
331
You wont able to play that sound becouse it's a sound from the GENRL. My advice is use soundid 1083.
232
Which one and why? Is y_dialogs faster? Or is it better if I use easydialog instead of hooking always OnDialogResponse and break the chain? Thanks for your reply.
103