Search Results
Quote: Originally Posted by [HLF]Southclaw If you already have the pickups, just use them. A loop through 50 elements is basically nothing for a CPU. No need for expensive distance checks ...
128
Quote: Originally Posted by [HLF]Southclaw I'd need more information on the context, what do you mean by checks a specific value in an array? I have an array with 50 different values, i...
128
Quote: Originally Posted by [HLF]Southclaw Yes. The streamer simply allocates memory for each new entity, as long as your machine has enough memory you can create as many as you want. How...
128
Quote: Originally Posted by MBilal Well I'm using this code to send message to admins only it working perfect but but. the problem come it causing lag because I'm calling this function in ...
134
Can streamer handle 50.000 dynamic spheres? The spheres are created individually (for each playerid) because the locations are different, so what do you think?
128
Quote: Originally Posted by kAn3 You did not post your print line. format (msg,10,"%d-%d",gangturf1,gangturf2); SendClientMessage (playerid,-1,msg); The problem is not here, the probl...
60
I have something like this: pawn Код: new gangturf1;new gangturf2; In a timer i do something like this because i need to resize both turfs: pawn Код: public Timer(){      DestroyGangZone...
60
for (new i = 0; i <= 13; i++) to for (new i = 0; i <6; i++)
138
Can someone tell me how can i access a returned array from a function? Thanks.
89
Does someone know the texture name of this ? Searched for this all day long and still couldn't find the exact name of it. Thanks!
42
Quote: Originally Posted by Eoussama Use random function and a loop And how about making them distinct?
147
I need some help in generating some random numbers. For example i have a var which defines the number of generations. For example 5, if it's 5 then i need 5 generated random numbers from 1-10 but dis...
147
How can i detect when a player presses "ESC" and he is in td selection? My textdraws are playertextdraws and as far as i read from the samp wiki you can't detect whenever someone presses ESC for playe...
59
Quote: Originally Posted by Despacito I removed it. However it's not the command the problem. The problem is that i can't enter in any fuckin vehicle even if i use an external spawner li...
114
Quote: Originally Posted by Sc0pion LOL sorry, I forgot and thanks for pointing it out. You should show this textdraw only at onplayerconnect callback and hide it at onplayerdisconnect,...
68
Quote: Originally Posted by Despacito I made a fuel system so there is: Код: public OnVehicleSpawn(vehicleid) { Fuel[vehicleid] = 100.0; return 1; } Alright, post here your /veh...
114
Quote: Originally Posted by Despacito I have a problem. I can't enter in ANY spawned vehicle even with a command. Ex: i do /vehicle 574, the vehicle gets spawned but i can't enter. I pres...
114
Quote: Originally Posted by Arthur Kane What I use and it works. PHP Code: CMD:stopanim(playerid, params[]) {     ApplyAnimation(playerid,"PED","null",0.0,0,0,0,0,0);     Cle...
151
Quote: Originally Posted by XpDeviL Try; PHP Code:     new Float:x, Float:y, Float:z;     GetPlayerPos(playerid, x, y, z);     SetPlayerPos(playerid, x, y, z+0.5)...
151