Search Results
If I understand your problem correctly. Try putting a "break;" under [CarSlot] == 0. This should stop the loop right where it find's the first [CarSlot] == 0. https://sampwiki.blast.hk/wiki/Control_...
74
Quote: Originally Posted by ****** Put it AFTER the loop. Thank's for your input ******, Unfortunately putting the return after the loop did not solve the issue and allowed the text to ...
111
Well basically this is under OnPlayerText. I want this to be executed and NO text to be returned to the chat box. However. Taking away return 0; will make the text a player inputs to show up in the ch...
111
Basically I am having a hard time how to get for looping posted below to return 0 or 1 while it still loops through i Код: for(new i = 0; i < 17; i++) { if(List[i][Position] < 16) { if(...
111
Thank's for the response guys, I have removed the return from the code however that did nothing.
169
Quote: Originally Posted by Andriensis you forgot the ";" between driver <MAX_PLAYERS and driver++ Good eye, Sorry that was a mistake copying over the code here. It's fixed.
169
SO i have the following code that is under OnPlayerClickTextdraw as a button. When a player is in a vehicle, viewing the textdraws and clicks on this textdraw, it will send all other players in a vehi...
169
Ok you are misunderstanding this entire question
173
Well obviously this is not the entire command, all the rest is irrelevent
173
So basically, is it possible for the format to return the proper variable value in the following code? For example, If I have a variable in the server called IsCool[playerid]. I will type "/checkv Is...
173
Is it possible within SA-MP to disable a player running, forcing them to walk? (Applying an animation will not work since I want the player to be able to stand still when he wants) Also is it possibl...
75
Quote: Originally Posted by SomebodyAndMe pawn Код: new Float:x, Float:y, Float:z;for (new i; i < 2000; i++)     GetVehiclePos(i,x,y,z); Thank you sir
99
What is the best way to loop through all the vehicles spawned in a server and detect their positions?
99
thats almost perfect. is there anyways, instead of having 3 separate garages, its all 1 garage with 3 bays, so firefighters can walk around all 3 engines inside the garage? thats the main thing im loo...
148
Hello mappers, i have tried this and failed. I want to implement a full Emergancy Response system for my server based off the experiances i have gained as a Volunteer Fire Fighter (irl). the only thin...
148
any1 else having this trouble. wen i start my server it works fine in windows and bots connect. but wen i start the exact same 1 in linux not bots connect.. its that simple. anything?
74
ok heres the deal, i have this code. what its suppose to do is when you die, it will set the playerposition back to were he died and freeze the player and set an animation. Now i tried fondoling with ...
110
omg this guy.. lol good job
813
why dont you use SQLITE? its perfect, works as good as sql without the hassles of a plugin or trying to set an SQL Server up
1,497