Search Results
Quote: Originally Posted by BigETI Are you trying to push player data into a single vector or are you trying to structurize single player data as a vector? Structurize.
1,496
Quote: Originally Posted by BigETI What are you even trying to do? Something like this, but I want to use enums for more readable code. Код: new Vector:PlayerVector[3]; VECTOR_push...
1,496
Sorry for bothering you, but I have another question. Код: enum PlayerEnum { id, Float:health, Float:armour } new Vector:PlayerVector[PlayerEnum]; VECTOR_push_back_val(PlayerVector[id], 0); V...
1,496
Thanks. And is it possible to set array like this? Код: enum PlayerEnum { id, Float:health, Float:armour } new PlayerData[][PlayerEnum] = { {1, 2.0, 3.0}, {4, 5.0, 6.0} }; new Vector:Player...
1,496
Is it possible to set float values?
1,496
Quote: Originally Posted by khRamin78 i think cus you are just checking first 3x characters so that should return true I don't think so. If I enter this: Code: [CLAN]Something Everyth...
183
v2.8.3 fixed this issue, but I have another issue. There is 1 player: Code: 0) [CLAN]Y_Less and if I enter this: Code: /test [CLAN]Y_LessSomething I get this: Code: id = 0
183
Quote: Originally Posted by KinderClans Use "r". I had this bug too and i fixed with that. Nope, didn't work for me.
183
I took an example code from sscanf thread: Code: #include <a_samp> #include <Pawn.CMD> #include <sscanf2> main() { } cmd:test(playerid, params[]) { new ids[3], i; if (sscanf(p...
183
I think I have found a little mistake in y_vehicledata.inc Model_IsTrain(591) (Article Trailer 3) returns true but Article Trailer 3 is a truck trailer.
6,688
Do I have to check if variable's value is different before setting it? Example Code: new bool:IsSpawned[MAX_PLAYERS]; public OnPlayerSpawn(playerid) { IsSpawned[playerid] = true; return 1; } or ...
698
Quote: Originally Posted by NaS From my experience yes, especially if you only use functions like the one I mentioned (or some other per-player functions). But be aware that it is a memory...
135
Quote: Originally Posted by NaS Without any additional code or plugin it won't be possible (since the console variable only holds the first FS), YSF however has a function which lets you g...
135
I need a function which counts loaded filterscripts. Is there any way to check if filterscript loads/unloads successfully? OnFilterScriptInit doesn't get called in gamemode. GetConsoleVarAsString doe...
135
Nice. Could hackers turn upside down other players?
1,026
Try this: Код: RemoveBuildingForPlayer(playerid, 3059, 2522.008, -1272.93, 35.609, 0.25);
123
Ladder climbing animation. Dozer's ladder climbing animation is fine but it needs some tweaking. It rotates player at the start of animation.
12,541
Which Timer Fix plugin or include is the best currently?
10,386