Search Results
Quote: Originally Posted by Sh4rp When I'm home I'll try it. I have one more question: what's the difference between the code I wrote in cmd:createveh (GetVehicleName(vehID) works perfect...
302
Really nice tutorial, well explained! +REP Quote: Originally Posted by B3x7K Okay, i want to ask something.. How can i determine if this string having an underscore and i'm want to delet...
1,891
Yeah sure Код: SyncPlayerTime(i); was in the loop above IsPlayerConnected, this wouldn't check if the player is connected so it will try to do a function on someone who isn't connected causing tho...
159
Quote: Originally Posted by ngulivo2 Don"t work What does it gives?
176
Switch isn't like if, you should just use the case to check the id, try it Код: public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { switch(dialogid) { ca...
151
Quote: Originally Posted by MarkNelson i don't have these functions in my FS The most serious problem is that Invalid instruction, so let's focus on it before
151
Quote: Originally Posted by MarkNelson [16:21:45] [debug] Run time error 6: "Invalid instruction" That should be something missing, if not a bracket a param maybe And well, for this......
151
For A and D you could use the OnPlayerUpdate with leftright https://sampwiki.blast.hk/wiki/GetPlayerKeys Like the example on SA-MP Wiki Код: public OnPlayerUpdate(playerid) { new Keys,ud,lr; ...
83
Did you put Код: gPlayerLogged[playerid] = 1; in your login system?
123
Why are you making an array with a callback? Or trying to make a string, or idk... Just do Код: stock AntiSH(playerid) { //Code }
176
You should just load your data before the textdraws, like Код: LoadUser(playerid); //Or whatever it is //Textdraws Now, i don't know your login system, i don't know which type of file manager you ...
201
Quote: Originally Posted by Nicosm thank you, i try. Let me know if it still crashes
159
Quote: Originally Posted by Logic_ Why the fuck was I ignored? Use Gammix' capture zone system, you can add hundreds of capture zone without any error. Well, maybe he wanna learn more a...
216
Quote: Originally Posted by GoldenLion https://sampforum.blast.hk/showthread.php?tid=558839 this might give you an idea of how you could make the custom death. It doesn't help him to wh...
146
Quote: Originally Posted by Lordzy To make it more realistic, my idea is a lot better. Or to improve what you said, I'd suggest using SetSpawnInfo under OnPlayerDeath. Well, if he wanna...
146
You can put a debug message to see if the condition works, like Код: printf("ItWorks"); Cause i don't see any problem in your textdraw
154
Try to put Код: SyncPlayerTime(i); Under Код: if(IsPlayerConnected(i) && gPlayerLogged{i} == 1) { Otherwise the problem should be under this Код: for(new h = 0; h < sizeof(Poi...
159
You can't stop the death, but a lot of servers does that system in another way... Do something like that Код: enum death_system { Float:DX, Float:DY, Float:DZ, Floa...
146
It shouldn't be a textdraw problem, it probably doesn't even check something in your conditions
154
I would suggest to use the sscanf, it would be better and faster, also those problems would never happen. And if there's some problems with the lenght you could check it with strlen... Btw those metho...
82