Search Results
Minor update (v1.5.1) I fixed several bugs, most important one being that players weren't taking damage when the callback OnTurretHitPlayer wasn't implemented. You can remove the callback now if you ...
805
Thanks, let me know if you have any suggestions.
805
No responses so far. Any feedback would be appreciated!
805
Update: Version 1.5 This update requires the ColAndreas plugin for the new LoS features. Turrets now have LoS capabilities! To enable, simply set your turret behavior to one of the aiming behaviors...
805
Quote: Originally Posted by Onfroi Sorry for bump. But why does my console spam with "*** Streamer Plugin: Streamer_IsInArrayData: Invalid ID specified" when the turret is active? Are ...
805
Quote: Originally Posted by DiGiTaL_AnGeL Have an IQ test. If it's below 120, you have no chance in scripting for real. You could have an IQ of 140+ and still be too lazy to script anyt...
185
pawn Код: stock InsertWildcardsIntoIp(ip[], count, asterisk = 1, checkvalid = 0){    new        j,        nip[16],        dotCount,        ipLen = strlen(ip),        bool:ski...
71,982
Update: Version 1.1 Added new getters and setters. pawn Код: GetTurretOwner(turretid);GetTurretMaterial(turretid, materialindex, &modelid, txdname[], texturename[], &materialcolor, maxt...
805
Could we get a way to check a player's LoS of a 3D Text Label with testlos on? IsPlayerIn3DTextLabelLoS(playerid, Text3D:id); Would be great for scripts that rely on checking a player's line of sigh...
95,616
Quote: Originally Posted by CuervO Note: I didn't read the code but you don't specify this in any part of your thread. The only problem with automatic turrets is the LoS. As I said I didn...
805
rTurret v1.5 Highly customizable turrets for SA-MP! rTurret allows you to easily create your own fully-automated turrets. With hundreds of customization possibilities, you can tweak the turrets for ...
805
If you want to keep track of a group of people, you should store their IDs in an iterator/linked list after logging in (use foreach for this) and remove the ID when the player disconnects. Finding gro...
182
How are you declaring your textdraw arrays? If they're supposed to be player textdraws they should have the "PlayerText:" tag (which in that case you should use PlayerTextDrawSetSelectable), otherwise...
98
Alright so I downloaded the gamemode and it turns out the vehicle spawn was located under Dialog_Car. I assumed that Dialog_Car would open up another dialog whose response would lead to Dialog_CarOpti...
284
Assuming CreateVehicle is inside Dialog_CarOption you can just place SetVehicleVirtualWorld directly under CreateVehicle's variable. If you still need help post your Dialog_CarOption(playerid, respons...
284
Since the responses show functions instead of the vehicle spawn, my guess would be take a look at Dialog_CarOption(playerid, response, listitem) and look for CreateVehicle. If it's not assigned to a v...
284
Post your OnDialogResponse and CarList_Create.
284
Yes. https://sampwiki.blast.hk/wiki/SetVehicleVirtualWorld https://sampwiki.blast.hk/wiki/GetPlayerVirtualWorld pawn Код: SetVehicleVirtualWorld(vehicleid, GetPlayerVirtualWorld(playerid)); Sin...
284
This pawn Код: else if((Lrapid_intervals = GetTickCount() - Lrapid_oldticks[playerid]) <= 370 && (GetPlayerWeapon(playerid) == 34 ||        GetPlayerWeapon(playerid) == 33)) {    ...
99
In that case, divide your string into separate parts then concatenate them together like this. Since the final string won't change in your case, I would suggest making the array the exact length of yo...
175