Search Results
Quote: Originally Posted by Threshold https://sampforum.blast.hk/showthread.php?tid=529324 This is a thread that I posted in where a guy needed a function that got the position in front o...
223
Quote: Originally Posted by Mionee Yes, just experiment with it. There may be better ways though, you should wait another day or two for a more constructive reply before actually going wi...
223
Quote: Originally Posted by Mionee https://sampwiki.blast.hk/wiki/Vehicle_information_types Код: VEHICLE_MODEL_INFO_FRONTSEAT // Position of the front seat* VEHICLE_MODEL_INFO_R...
223
Quote: Originally Posted by Mionee https://sampwiki.blast.hk/wiki/GetVehicleModelInfo This function doesn't detect the position of the driver's door or the passenger.
223
How can i see if a player is near to the driver's door or the passenger door?
223
Quote: Originally Posted by Sawalha Hmm, that will need to check every vehicle model and imagine it's offsets (Depends on it's cover's size) Here's a list of like that vehicles: https://s...
333
Quote: Originally Posted by Sawalha This would be used with : https://sampwiki.blast.hk/wiki/AttachObjectToVehicle I think the offsets are Код: 0.0, -1.0, 1.0 0.0 is for the X offs...
333
How can I detect the offset of a position of a vehicle like this video https://www.youtube.com/watch?v=vTum_5Y27A0? (I'm trying to place a box behind a vehicle that each vehicle has a storage capaci...
333
Quote: Originally Posted by SickAttack pawn Код: new id, price;if(strcmp(params, "sell", true) == 0){    if(sscanf(params, "{s}ui", id, price)) return SendClientMessage(playerid, 0xF...
72
Hi guys,I'm trying to develop the command /v sell, but I don't know how can I pass multiple parameters using sscanf(example: /v sell [playerid/name] [price]). How can i do?
72
Quote: Originally Posted by Pottus This would actually be quite similar to a card shuffle algorithm actually why not look a few up and see if you can get it to work. I tried but I can't...
98
Hi guys, i want to invert a string randomly, example: "hello" - "elhlo" (this totally random), How can i do? (Sorry for my bad English)
98
Quote: Originally Posted by DaniceMcHarley That's not your bug it's SA-MP related. You know any method?
116
When i use SetVehicleParamsForPlayer and i set the param 'doorslocked' to 1, the animation that is executed it appears only to playerid and for the other players can see that the playerid enters and e...
116
Mmh.. how can i detect if a door is opened or closed?
75
Hi guys, when i set the doors locked with SetVehicleParamsForPlayer and a player attempts to enter into the vehicle that is locked, there is a problem; If the door is open (door physic of vehicle) and...
75
Hi guys, how can i disable only the "arrows" (<< and >>) when is Called OnPlayerRequestClass? (N.B: I want disable only the arrows).
91