Search Results
You can check if a team is uneven using this operator % If(GetPlayerCount(teamid) % 2 != 0 ) This way you can solve this problem. You need some function to get the amount of players inside of a team...
122
Yep under OnPlayerSpawn.
3,001
I'll write something for you. Just wait some minutes. Check this out. This way you can round integers to the next multiple of 10. Like 5 will be 10, 3 will be 0. When i divide 3 with 10, we'll have ...
171
I only use the way using a MTA:SA server to create maps, also with my friends.
424
Hmm i guess its not that easy to help you that way. Have you got teamviewer? Lets do a session do solve this problem.
230
Hmm okay. Challenge accepted. I think i will use a chess engine like structure to do that. The AI must be able to decide what to do with some given options. Maybe using randoms in some cases. I guess...
4,766
Something like that? Thats what i created. If it works please +REP me For me its working fine. It returns the id of the player in front of playerid. returns Code: stock IsPlayerInFrontOfPlayer(pl...
134
Ahoy! Awesome plugin. I try to create NPC for my Team-Deathmatch system. So if there is a lack of players they should replace the missing players. Do you guys think it may work?
4,766
Ternary operator Ahoy everyone. This time i'll show you guys how to use the ternay operator given by many languages like C or PAWN. This time we will only talk about the condititonal operator to repla...
684
Updated. Old topic here https://sampforum.blast.hk/showthread.php?tid=428044
1,064
Quote: Originally Posted by RogueDrifter First stable release? 2 years later? Of course, why not. Same story like ZFS.
2,223
The first stable release is here ! You can also test the gamemode on openknogle.eu:7777 right now https://github.com/Knogle/LastBedStanding/ Fixed major bugs. Removed y_ini Fixed a huge...
2,223
Ahoy friends. Currently im trying to improve my gamemode https://sampforum.blast.hk/showthread.php?tid=629023. Currently there are at least 3 teams and i want to get a round system to start and finish...
74
For huge arrays nowadays i stopped using loops to iterate. Now i use heapsort as well as binary search algorithm. Furthermore i stopped the use of strtok and replaced it by sscanf.
39,543