Search Results
Quote: Originally Posted by Stinged Use this function to copy strings. Don't do something like "string = str" Код: #define strcpy(%0,%1) strcat((%0[0] = '\0', %0), %1) or strcpy(dest...
131
Would you like to work together possibly? Everything else I have works fine. ^^
131
Thanks so much for the replies. Here's what I have now. I get this error when I compile : error 047: array sizes do not match, or destination array is too small edit: I put stars near the part of the...
131
For my vehicle plate system I'd like to set it up so that a players tag is made using his/her first and last initials,followed by the vehicle ID when a player buys a vehicle. Example: John_Smith buys...
131
Sorry, I know this is old. But I wanted to let you know how I fixed this bug within my script. Inside onplayerdisconnect I log the reason. If the reason was a timeout, I save it in my sql table. I h...
454
Looking back on this now makes me want to shoot myself. Create the vehicle, then set the position of the vehicle. Jesus H Christ dude. SMFH.
52
If I create a new weapon using a 3d modeler, and give it animations etc... Say, a plasma gun. And assign it an ID like 9000. Can I let people download that model, and add it to their gta3.img and we...
171
query is used for mysql. Just delete query from the script. Erase it... should be at the top. Then hit ctrl f and search for mysql. delete everything that shows up involving mysql. Keep in mind you'...
94
You could try doing this using gangzones. Make invisible gangzones for the dm areas. Then check if a player is in any of those zones each time they do a command.
100
May I ask how that is different at all from what I posted? Maybe I'm just blind but I don't see any difference, so what were the typos?
178
How would you go about dropping the objects when a player dies?
1,350
Quote: Originally Posted by CuervO You can use a loop. Voila, a loop within a loop also works, too, where 'i' are the players and 'a' are the different drops. Thanks! +rep If I store a...
69
I really like how you lay out your code. Makes it easy to find things again in the future.
1,603
Yeah, or you could do this. Код: CMD:godmode(playerid, params[]) { SetPlayerHealth(playerid, 999999999); } It would save everyone a lot of time and server resources. Edit: Here's a way you co...
544
Quote: Originally Posted by Scaleta I would not call this custom damage, as it only kills a player if one bodypart is hit. It can be much more extensive. That's easy to do, though! Espe...
376
As above said, you need to define currentveh. The problem is, he's getting the vehicleid of the player that was killed, not the player that killed him. So, do this instead. Код: public OnPlayerDe...
178
So, what I've got so far is a loot system that adds gas cans when you pickup the gas can objects. And when a player dies, it drops a gas can, or two, or three, or four, depending on how many they have...
69
Here's an idea. Move the entire map to an area on land somewhere, then add water around it, and set the virtual world to any number, like... 29. Make a bridge leading to your island, if you haven't a...
151
Ok, I have coded way too much to copy and paste here but if you don't mind could you take a look at this. This code will not do anything, it's just an example. Код: define MAX_LOOT 5000 new loot[...
58