Search Results
So there's also another issue, the level names. When I type stats it starts to show the name, but then after the first letter it shows team name after the first two letters, ie if you're level 4, it s...
218
Quote: Originally Posted by Kane Team IDs are 0-254 (0 is valid). 255 is NO_TEAM. That works dude, thanks!
218
Pastebin: https://pastebin.com/ZuYaC49a So I have the team numbers set to defines, starting with #define TEAM_USA 5000. Except for some reason, when I use my custom setplayerteam function (AltSetPlay...
218
Quote: Originally Posted by KayJ Why do you use cases in large numbers? Because someone else here suggested it. Those are just the team IDs.
136
Код: GetPlayerTeamName(playerid) { new szString[24]; new team; team = GetPlayerTeam(playerid); switch(team) { case 5000: szString = "United States"; case 5001:...
136
Код: C:\Users\keega\OneDrive\Desktop\SAMP server\pawno\include\YSI\..\YSI_Storage\..\YSI_Core\y_utils.inc(430) : warning 201: redefinition of constant/macro (symbol "isnull(%1)") C:\Users\keega\On...
81
I keep getting tag mismatch warnings when making the gate but it's being written exactly as it should. Код: GATE_INDIA1 = CreateAutomaticGate(971, 2720.1001000,-2405.3999000,16.1000000,0.0000000,...
2,012
Fixed it, it was the speed for some reason.
92
Thanks but I'm hoping I can get some help using mGates or another include to make gates easier
92
Quote: Originally Posted by AroseKhanNiazi PHP код: SetPlayerLevelName(playerid)  {      strdel(PlayerInfo[playerid][pLevelName],0,128);     switch(PlayerInfo[playerid][pL...
302
Код: stock GetPlayerLevelName(playerid) { SetPlayerLevelName(playerid); return PlayerInfo[playerid][pLevelName]; }
302
Quote: Originally Posted by Unrea1 Use switch, is more fast. PHP код: SetPlayerLevelName(playerid) {     switch(PlayerInfo[playerid][pLevel])     {         case 1:...
302
Getting this error in a part where there aren't even any arrays. Код: stock SetPlayerLevelName(playerid) { if(PlayerInfo[playerid][pLevel] == 1) PlayerInfo[playerid][pLevelName] = "Private I";...
302
https://pastebin.com/rJG7jVTH include: https://sampforum.blast.hk/showthread.php?tid=348907 Neither of the automatic gates I made (they're in relatively the same place, needed two gates to cover the...
92
Quote: Originally Posted by Sew_Sumi Random isn't as random as you'd think it would be... What do you mean? Unrelated, but does anyone know why this might cause a tag mismatch warning:...
125
Could I still keep it all on the same line with the commas? I'm hoping to save some space here.
125
https://pastebin.com/cBkAnXuQ The team spawn thing is at the very bottom. For some reason it only randomly spawns at this one: Код: new Float:IndiaSpawns[3][4] = { {2841.2942,1285.7273,11.390...
125
Quote: Originally Posted by PrO.GameR Read more about why you can't use Iter_Remove inside a foreach of same iterator loop if you are gonna keep looping you need to use Iter_SafeRemove (...
134