Search Results
The problem is in one of the arrays, try commenting them out one by one to see which one is causing the problem. My guess would be the Evac array
94
It depends on what effect you want, take progress bars as an example. They get the animated effect because they get updated regularly, but the actual purpose of a textdraw is as the name implies. Text...
130
It's because you've assigned your own ID (playerid), instead it should've been the specified (id) like this: Код: CMD:stats(playerid, params[]) { if(connected[playerid] == true) return GameTe...
51
Unless you can come up with a formula, which will be extremely hard to do I'd say leave it as it is. The second value that you want is what you'd get from gettime();. This method returns the number of...
151
There is inconsistency in font sizes, which is really noticeable on /vehicles, the other stuff like colors would be personal preferences but I don't really like the colors that are used or the actual ...
290
I don't have much time for now, hope this tutorial will do for you: https://sampforum.blast.hk/showthread.php?tid=279757 It explains everything about automating a gate
209
Alright, let's start with creating the gates, preferably create them closed: Код: #include <a_samp> #include <Streamer> #include <zcmd> new Gate[2]; // Let's get straight to an ...
209
Код: Gate1 = CreateDynamicObject(19859, 1294.623168, -1862.670776, 13.796877, 0.000000, 0.000000, 0.000000); SetTimer("Close", 1000, 1); Gate2 = CreateDynamicObject(19859, 1297.616333, -1862.67370...
209
The only way you can get more then 2 buttons in a dialog is if you use listitem, but it won't give you the ability to type. My alternative solution to this situation would be to make a menu before the...
92
I don't think that the problem is in the function itself, search for when you update dynamic checkpoint ID 6 and show us that line.
66
You should give your samp folder rights to read and update, I can't really tell in exact details since it's been a while for me but once you right click on the folder in Filezilla it shows set permiss...
70
Quote: Originally Posted by Andre02 Sad to see how people not only can't get creative and feel the need to go out there and rip off content from other games. But they're never happy with w...
10,980
You restrict players from using the command if they're not faction 2, so this line can never be true: || PlayerInfo[playerid][pFaction] == 6 I would do it like this: Код: COMMAND:locker(playerid...
88
Surprising decision, if you have legal concerns then you should blacklist all servers with copyrighted names. Some examples are Call of Duty and other names that are just ripped. If you get my point t...
10,980
Quote: Originally Posted by DRIFT_HUNTER Well it does say -1 and inside that public...so just walidate all variables that might have value -1 It's really hard to judge because there is ...
84
I'm not sure if there is an operator like that for pawno, I know that javascript and some other programming languages have an operator called 'typeof', it returns the variable type. I can't find anyth...
199
What part did you edit? The problem is coming from one of the arrays, but it's impossible to tell which one is getting set out of bounds. You either have to track that or maybe it's easier to look bac...
84
I think it's the same way you do with normal players, with SetPlayerVirtualWorld
102
Try and replace Код: if (PRESSED(KEY_FIRE)) // with if(newkeys & KEY_FIRE)
143
Try putting sscanf include right after a_samp, I've had a similar error before, that fixed it for me.
210