Search Results
I don't know if this is still being updated but I'm working on a map with over 10000+ objects and sometimes when i hit "show code" the map editor just freezes and doesn't show the code window, so i ha...
30,638
Quote: Originally Posted by Proxus Where should I put the 'break' in the code? When I put it in the if statement that checks if a house has been found it just outputs 'unreachable code'. I...
621
You're looping to check if the playername matches any of the ownernames of the houses in the server. so it's normal that it shows "else called" when the name of the player is not the same as the owne...
621
Put a high draw distance for the ground dynamic objects, > 400
105
Quote: Originally Posted by Y_Less Worse than most things? Maybe. Worse than everything? Absolutely not - I can show you at least one thing that is worse than their reply: I get it, you...
938
Can you guys get off your high horses and actually help him instead of insulting? We know you guys are soo much better but you've all been beginners at some point. Anyway, I don't think the problem i...
283
Quote: Originally Posted by Bolex_ 'Faster and Easier' ? Take a knife and stab yourself, something like this isn't even for a half-star. It wasn't meant to be a 5 star answer, I also ...
938
There is probably a faster and easier way but this works. This will show 20 playernames with wanted level lowest playerID ontop. PHP код: #define DIALOG_WANTEDPLAYERS 1 public OnPlayerCo...
938
Just delete the object when you shot it. https://sampwiki.blast.hk/wiki/DestroyObject
240
This is what I use create an explosion infront of the player. Not sure how good it is but it works, i think if you mess around with the code and the formula enough you can make your thing work. PHP ...
718
Quote: Originally Posted by Proxus The colour is often darkened because of the weapon used. The M4 is a black weapon which means it'll be darker than a TEC-9 or UZI for example which are, ...
341
Just add the parameter in green for all createobjects, 50000 will make them show at maximum distance CreateObject(2587, 2001.195679, 1547.113892, 14.283400, 0.0, 0.0, 96.0, 50000.0);
125
This is basically the pilot skin but with a different texture, i added some stars and medals.
1,257
Oh yeah, I forgot to check for the vehicle model, This one should definitely work but it would be better if you keept track of trailers towed with a vehicle variable that changes when a vehicle starts...
184
PHP Code: new bool:TrailerIsFree[MAX_VEHICLES] = true; public OnPlayerCommandText(playerid, cmdtext[]) { if(!strcmp(cmdtext, "/respawnfreetrailers", true)) { new TrailerID = -1; for(...
184
error 017: undefined symbol means you have to define the symbol, use "new", "DEFINE", "forward functionName", to define them ontop of your script, Your errors seem to be mostly syntax errors. I recom...
86
try 0xFFFFFF2D, there is that bug with changing object colors though, sometimes the color is darkened.
341
Looks like wrong interior or too low draw or stream distance. Show the last 5 parameters of the CreateDynamicObjects
67
This is probably a GTA SA limit, I don't remember any point in the game when it had over 20 peds. They probably didn't need more.
274