Search Results
Quote: Originally Posted by CONTROLA I would use Incognito's streamer for that. For each vehicle created, also create an area attached to that vehicle. Of course, only create areas for the...
443
Okay so I've just realized that I will be spawning vehicles! And not players lol. Vehicles will be randomly spawning there, and what I'm willing to use, is.. add to each spawn point the VehicleID when...
443
Quote: Originally Posted by RedFusion Or maybe you could make 2 arrays. One with all of the spawns unmodified, and one where the used spawns get removed as they get used. Then you simply r...
443
Quote: Originally Posted by v1k1nG You didn't read my code. Private200 and me had the same idea. At the beginning of the idea it's the same, but Private200 added a nice touch to his ide...
443
Quote: Originally Posted by Private200 Give your random point an id and a boolean, false by defaut. Every time a player spawns at that point, set the point boolean to true (as someone has...
443
Quote: Originally Posted by v1k1nG I didn't put my idea under any public function. If you do use SetSpawnInfo under OnPlayerDeath obviously that code will be read by the server under OnPla...
443
Quote: Originally Posted by v1k1nG This could be a idea. PHP Code: #define MAX_SPAWN_POINTS           50 // Your value enum RandomPoints {     Float:wcrm_X[MAX_SP...
443
Hello people. In this thread, I most likely want help with an idea to implement, so where it is: I have an enum for random points (code below), I have like 50 points of these, and when I write a com...
443
Write ObjectSpawned[SpawnedObject][objects] instead.
396
Okay nvm fixed, the problem was in having those default values in the enum. Have no clue why it's buggy tho.
214
Quote: Originally Posted by RedFusion You can't initialize enumerators like that. You need to assign a default value at runtime, preferrably at script init (OnGameModeInit / OnFilterScrip...
214
Quote: Originally Posted by NaS From the looks this seems unlikely to produce the error as you are accessing index 0 which is definitely not out of bounds. Could you share the code where ...
214
I have wrote a little code, and I'm getting the array index out of bound error, the error is because of the last line. Link: https://pastebin.com/FfK57zcS I have tried many things but error still a...
214
I have recorded this video few months ago, and I've just remembered that it would be a good idea if I share it on SAMP forums: Please share the video around and don't forget to leave a thumb-up, wish...
477
Streamer would help to have less objects created on the server in the same time, like, if no objects are streamed by players, the server won't need to load any, server loads needed objects and removes...
162
Hello everyone, I made a command for players, to load a file. They just write the file name and the file is supposed to be loaded, but instead, the LoadObj callback is called many many times and the ...
539
Hello everyone, I made a command for players, to load a file. They just write the file name and the file is supposed to be loaded, but instead, the LoadObj callback is called many many times and the ...
783
Hello everyone, I made a command for players, to load a file. They just write the file name and the file is supposed to be loaded, but instead, the LoadObj callback is called many many times and the ...
72
Quote: Originally Posted by Hrb You are close, but u miss one "]" this is correct: Код: if(oInfo[playerid][i][matindex][0] == 0) Incredible, it has worked with no errors. Thanks ...
116