Search Results
Please add support for custom models (0.3.DL)
1,924
You can put gold color on uzis, because they're white, but you can't on m4a4, because it's black... Because for example if you write: 0xFF00FFFF (ARGB) it will remove red from your weapon color, but i...
341
If you won't find simplier solution, i would do this: comment out half your code, see if error is still here, if it is, comment half the uncommented code and if it isn't it means your error is somewhe...
178
Код: new bool:actionButton[MAX_PLAYERS]; static const c_missileFireRate = 200; public OnGameModeInit() { SetTimer("missileTimer", c_missileFireRate, true); return 1; } forward missileTim...
492
It could be that OnPlayerUpdate returns 0. Can you die from falling or you only can't take damage from other players?
139
https://sampwiki.blast.hk/wiki/GangZoneCreate https://sampwiki.blast.hk/wiki/GangZoneShowForPlayer I think you could use gangzones, just put black color in a very big area
99
You write: Код: foreach(new i : Player) { //Code } Instead of: Код: for(new i; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { //Code } } Also if you want to loop...
100
Change random(1) to random(2) This function’s argument means how much values this function could output, you chose 1, it always gave u 1 value
142
Would be VERY useful if i would be able to paste all my CreateObject functions and then see them from above, but that would be too much work, now you just load a 2d minimap if i understand how this wo...
4,425
Maybe try #define _FOREACH_NO_TEST before including <foreach>? idk if that will work xd
300
1) I think you need to reshow this textdraw after you change the model(hide and show again)(but idk if you really need to do this, just try it) 2) If problem still exists, try printing Winner var befo...
292
Quote: Originally Posted by KinderClans At least i tried xddd Also, if you, OP, don’t understand what i have written here before, try watching some yt vids about this topic(tangents,...
281
I’m not that good at maths too, but i think you need to find ratio between vX - playerX and vY - playerY(ratio between distance to a car X, Y coordinates). Why you need to find this ratio? Because f...
281
I would use option 2 then, but I suggest not trusting me and testing the speed of those scripts youraelf If the speed difference is very small, there’s no point in using memory for vehicle params i...
163
If you will use these functions a lot, option 2, if not then option 1, because those variables are not worth it then, also i suggest testing speed in both cases
163
Ooooooo... Thanks dude Everything compiles perfectly with 5.x Only one problem... I can't put all ysi folders into include\YSI, it forces me to put everything into \include\... Everything is not tid...
164
I used y_hooks before and it worked perfectly! But I decided to change my compiler (now it's 3.10.9). https://github.com/pawn-lang/compiler Also i updated my ysi to the latest version Now when i add ...
164
OnPlayerUpdate callback happens about 30 times a second, so we use it when we REALLY need it, for this 1 second check is enough
164
Timerio kvietimas, gali į main() arba OnGameModeInit() dėt: Code: SetTimer("OnOneSecondPass", 1000, true); Tas kintamasis: Code: new iskvietejoID[MAX_PLAYERS]; Jį reikėtų nustatyt į INVALID_PL...
164