Search Results
Quote: Originally Posted by BlackBank Because it will break (stop) the loop after one iterate. You should remove the break in your for-loop, also 'return' does already 'break' the loop, s...
158
Good, I need to create a stock to detect me if the user is in the vehicle, I did this but it does not work for me. Код: stock Vehicle_ID(playerid) { new VehicleGetID = GetPlayerVehicleID(play...
158
When 2 players do the work, if one ends before the other, the timer is cleared for 2. I do not know if I explain myself well. Код: CMD:tomar(playerid, params[]) { new opcion[32]; if(sscan...
75
Hello! I have a problem with the progressbar, it turns out that I need to increase every 10 seconds by 10%, but only by 1 time. Код: new TimeBar[MAX_PLAYERS]; forward Cant(playerid); public Cant...
156
Quote: Originally Posted by Mencent I think an option is to use a timer. There are many other solutions, but try this: PHP Code: //global variable: new TruckTimer[MAX_PLAYERS]; //wh...
241
Is there any other way to do the function? :PPP
241
Greetings, I would like to know how I could do so that when a trailer is attached to a trailer, try to do this but it does not work: Code: forward OnPlayerAttachTrailer(playerid, vehicleid, traileri...
241
Hi, when a player changes from being a driver to standing, the textdraw does not work. Code: public OnPlayerStateChange(playerid, newstate, oldstate) { if(oldstate == PLAYER_STATE_DRIVER &&a...
57
Hi, I made a house system, you can only create buy and sell, but I need to make it possible to enter and exit. I want to do it on my own, I just need an idea.
95
Quote: Originally Posted by Tord You can use this method to check what model the car is. we know that a pizzaboy is the id: 448 (https://sampwiki.blast.hk/wiki/Vehicle_Model_ID_List) Then ...
90
I need to make a certain vehicle for a job, I have this code. If you do not have a job, you can not use it, but if you are from another job that is not this one, it leaves you. if(Vehicle_Job_1(vehic...
90
I need a command to create cars for sale and to keep them saved CMD:createvehicle(playerid, params[]) { new cadena[52], modelo, Float:X, Float:Y, Float:Z; if(!sscanf(params, "i", modelo)) GetPl...
56
i need to make /needadmin comand with dialogs. Code: #define dstaff 138 CMD:needadmin(playerid, params[]) { ShowPlayerDialog(playerid, dstaff, DIALOG_STYLE_LIST, "їNeed help?", ""#AYUDANTE"Helpe...
87
i need to make /hduty, for helpers. Quote: stock GetAdminRank(playerid) { new arank[64]; switch(PlayerInfo[playerid][Admin]) { case 5: arank = "Owner"; case 4: arank = "Co-Owner"; ...
203
i want to make a /ls <id> command.
121
Quote: Originally Posted by Aylan Are you sure you are using the plugin too and have updated server.cfg? Thank you hahahhaha
234
When I use #include <sscanf2>, when I enter the game it does not load the gamemode, nor filterscript, nothing.
234
I want to create /hp <id> with ZCMD. Please help
146
Hello, I want to make the command only for administrators and that can be used when they are duty enum @ID { Admin, // identifier (I do not know how this works) }; new Info23[MAX_PLAYERS][@ID]; ...
145