SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 184
Search took 0.00 seconds.
Search: Posts Made By: Ejected
Forum: Scripting Help 25/04/2020, 01:25 AM
Replies: 2
Views: 157
Posted By Ejected
How do I sscanf this?

I want to use sscanf to find the BizID in this string:

(BizID:5) Biz name blah blah, cost is $3000

How can I do that? I tried this but it didn't work:

sscanf(inputtext, "i", bizid);

It's...
Forum: Scripting Help 23/04/2020, 02:07 AM
Replies: 5
Views: 199
Posted By Ejected
Re: How can I get the floatsin floatcos of this?

I downloaded your gamemode to test the spikes and see how they work but I'm not used to strcmp for commands and this old style of scripting because I only just started scripting like last year. I...
Forum: Scripting Help 22/04/2020, 02:56 AM
Replies: 4
Views: 140
Posted By Ejected
Re: Run time error 4: "Array index out of bounds"

Try

for(new i = 1; i<stockss; i++)

If that doesnt work, show your new Stock[ ][ ] line
Forum: Scripting Help 21/04/2020, 09:59 PM
Replies: 5
Views: 199
Posted By Ejected
How can I get the floatsin floatcos of this?

I want to make a CreateDynamicRectangle for a spike strip object: (object model id: 2892)

So that I can make it pop the player's tires when they drive through it.

How can I do this?

I assume...
Forum: Includes 14/04/2020, 03:15 AM
Replies: 1,351
Views: 334,873
Posted By Ejected
Re: Nex-AC - Anticheat system

How can I edit some of the kicks to bans instead? Also how do I edit the message "You have been kicked on suspicion of using cheats (#...)"?
Forum: Scripting Help 08/04/2020, 04:00 PM
Replies: 11
Views: 534
Posted By Ejected
Re: Players/cars are randomly disappearing and reappearing a few seconds later

Yes I'll try this and reply in a day or two thanks for the suggestion
Forum: Scripting Help 07/04/2020, 09:19 PM
Replies: 11
Views: 534
Posted By Ejected
Re: Players/cars are randomly disappearing and reappearing a few seconds later

I edited the main thread a bit too, I added some more info and added a screenshot, it might help. I'm not sure at all :/
Forum: Scripting Help 07/04/2020, 07:44 PM
Replies: 11
Views: 534
Posted By Ejected
Re: Players/cars are randomly disappearing and reappearing a few seconds later

public OnPlayerStateChange(playerid, newstate, oldstate)
{
if (IsPlayerNPC(playerid))
return 1;

new vehicleid = GetPlayerVehicleID(playerid);

if (newstate == PLAYER_STATE_WASTED...
Forum: General 06/04/2020, 11:03 PM
Replies: 90
Views: 58,713
Posted By Ejected
Re: Best english rp servers?

Not upcoming but new... Check my sig
Forum: Scripting Help 06/04/2020, 07:55 PM
Replies: 11
Views: 534
Posted By Ejected
Forum: Scripting Help 05/04/2020, 04:46 PM
Replies: 11
Views: 534
Posted By Ejected
Re: Players/cars are randomly disappearing and reappearing a few seconds later

It's players too that are disappearing though, not just cars

forward Car_Load();
public Car_Load()
{
static
rows,
fields,
str[128];
Forum: Scripting Help 05/04/2020, 04:39 PM
Replies: 11
Views: 534
Posted By Ejected
Forum: Scripting Help 27/03/2020, 10:45 PM
Replies: 6
Views: 190
Posted By Ejected
Re: Everyone on the server crashes in the exact same area

//CreateDynamicObject(5856, 1024.81299, -1029.25403, 30.83000, 0.00000, 0.00000, 0.00000); //OBJ CAUSING CRASH <<<<<<<<<<<<<<

This is what was causing it.............................. :/ lmao...
Forum: Scripting Help 27/03/2020, 07:27 PM
Replies: 6
Views: 190
Posted By Ejected
Re: Everyone on the server crashes in the exact same area

I did, its somewhere near Temple PnS but I can't find which object or mapping it is, I literally added every single mapping to my map editor and flew around there looking for a mapping and only found...
Forum: Scripting Help 27/03/2020, 04:44 AM
Replies: 6
Views: 190
Posted By Ejected
Re: Everyone on the server crashes in the exact same area

Is there any way to figure out which object with the crash report?

There's like 200 different mappings on the script :/
Forum: Scripting Help 27/03/2020, 03:40 AM
Replies: 6
Views: 190
Posted By Ejected
Everyone on the server crashes in the exact same area

Everytime anyone goes near LS from Red County they crash. How do I fix this? I'm pretty sure something in the script is causing it not our games, because everyone's game crashes in the same spot...
Forum: Client Support 27/03/2020, 03:38 AM
Replies: 6
Views: 773
Posted By Ejected
Crashing in the same spot for everyone on the server

Everytime anyone goes in LS they crash. How do I fix this? I'm pretty sure something in the script is causing it not our games, because everyone's game crashes in the same spot there. Does anyone...
Forum: Scripting Help 24/03/2020, 03:39 PM
Replies: 2
Views: 162
Posted By Ejected
Forum: Scripting Help 22/03/2020, 06:38 PM
Replies: 5
Views: 217
Posted By Ejected
Re: ShowPlayerMarkers Question

Where do I put that? Because I tried in OnPlayerConnect and it didn't work.
Forum: Server Support 22/03/2020, 06:21 PM
Replies: 14,745
Views: 1,879,109
Posted By Ejected
Re: Looking for scripters/helpers? Post here!

Looking for a few people to help out with an upcoming heavy RP server based in Fort Carson (launching very soon, in less then a week).

We have a very good and customized script and are CONSTANTLY...
Forum: Scripting Help 22/03/2020, 06:19 PM
Replies: 5
Views: 217
Posted By Ejected
Re: ShowPlayerMarkers Question

Yes but then I can't use SetPlayerMarkerForPlayer?
Forum: Scripting Help 21/03/2020, 10:37 PM
Replies: 5
Views: 217
Posted By Ejected
ShowPlayerMarkers Question

I need to use ShowPlayerMarkerForPlayer for a /backup command

The only way to use that is to have: ShowPlayerMarkers(1) in OnGameModeInit right?

So with ShowPlayerMarkers(1) all players can see...
Forum: Server Support 21/03/2020, 08:04 AM
Replies: 14,745
Views: 1,879,109
Posted By Ejected
Re: Looking for scripters/helpers? Post here!

Looking for a few people to help out with an upcoming heavy RP server based in Fort Carson (launching very soon, in less then a week).

Specifically looking for:
- Mappers (PM ABC#6701 on the...
Forum: Scripting Help 20/03/2020, 10:22 PM
Replies: 2
Views: 162
Posted By Ejected
Re: OnPlayerTakeDamage damage is very laggy

Would something like this for each "case" help?

case 3: return SetPlayerHealth(playerid,... ect ect)
Forum: Scripting Help 20/03/2020, 10:19 PM
Replies: 2
Views: 162
Posted By Ejected
OnPlayerTakeDamage damage is very laggy

Is there a good way to optimize OnPlayerTakeDamage to make it less laggy?


https://www.youtube.com/watch?v=oueub2kT2GA

All of the code is in this format for each gun I only pasted weaponid 0...
Showing results 1 to 25 of 184

 

All times are GMT. The time now is 08:23 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.