SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 175
Search took 0.01 seconds.
Search: Posts Made By: IzadorO
Forum: Scripting Help 08/12/2019, 01:06 AM
Replies: 3
Views: 99
Posted By IzadorO
Re: SAMP - Ammunation Shooting Range

South Central Roleplay gamemode has a shooting range script similar to this, you should check that out if you're interested in creating your own.
Forum: Scripting Help 04/12/2019, 12:51 PM
Replies: 16
Views: 260
Posted By IzadorO
Re: Crash on editing objects

cp = PlayerData[i][pCheckpoint] must be out of bounds when used. Run a check to make sure it isn't before using it.
Forum: Scripting Help 04/12/2019, 12:45 AM
Replies: 16
Views: 260
Posted By IzadorO
Re: Crash on editing objects

Ackslimit warnings may mean an error within the script.

Paste FreeClothingSlot(playerid);
Forum: Scripting Help 04/12/2019, 12:41 AM
Replies: 8
Views: 224
Posted By IzadorO
Re: Set Player Name Color

Just to clarify, it doesn't work at the top of OnPlayerConnect because your player data hasn't been loaded yet. It must be done after it loads, and OnPlayerSpawn usually called after that.
Forum: Scripting Help 04/12/2019, 12:39 AM
Replies: 2
Views: 77
Posted By IzadorO
Re: starting

Try this https://wiki.sa-mp.com/wiki/ShowPlayerMarkers to remove the markers from the map. Place it under OnGameModeInit using the PLAYER_MARKERS_MODE_OFF parameter.
...
Forum: Scripting Help 03/12/2019, 01:38 AM
Replies: 34
Views: 544
Posted By IzadorO
Re: Online time money

If you already have a variable which records minutes played, such as PlayerInfo[playerid][pMinutes], once it reaches 30 give them money, once it reaches 60 give them money and then reset it to 0.
...
Forum: Scripting Help 02/12/2019, 05:42 PM
Replies: 8
Views: 198
Posted By IzadorO
Re: Textdraw size.

If you want the size to adjust accordingly then it needs to be 1 textdraw with a box, rather than 1 without a box but with text, and the other with. If there's a script issue with using a box + text...
Forum: Scripting Help 01/12/2019, 08:00 PM
Replies: 4
Views: 89
Posted By IzadorO
Re: retrive multiple info on vehicles around server

Make a loop through max vehicles and make an array containing the vehicle model IDs + their respective name handles. Then create a string the size the list will need to be, create a count and add to...
Forum: Scripting Help 01/12/2019, 04:21 PM
Replies: 1
Views: 55
Posted By IzadorO
Re: onplayertakedamage error (Debug)

Put a check before if (pInfo[issuerid][AccDingSound] == 1) to check if the issuerid isn't an INVALID_PLAYER_ID first, that's why this error happens.

OnPlayerTakeDamage doesn't just handle damage...
Forum: Scripting Help 30/11/2019, 06:21 PM
Replies: 6
Views: 111
Posted By IzadorO
Re: Shadows a variable at a preceding level!

If targetid was your problem then somewhere towards the top of your script you have a variable 'targetid' defined as something else.

You'd obviously have to locate that yourself as no one has the...
Forum: Scripting Help 30/11/2019, 06:19 PM
Replies: 2
Views: 81
Posted By IzadorO
Re: How to convert cmds to key?

Okay so... if you plan to use sscanf specifiers to determine a player which you would like to teleport, or whatever you're trying to do, then you can't use a key.

Changing commands to keys are...
Forum: Scripting Help 30/11/2019, 04:43 PM
Replies: 6
Views: 111
Posted By IzadorO
Re: Shadows a variable at a preceding level!

Shadowing a variable means there's another variable defined the exact same way, such as two for loops with a variable of i, inside eachother.

Search nearby the function causing the warning to find...
Forum: Server Support 28/11/2019, 02:02 AM
Replies: 14,462
Views: 1,756,910
Posted By IzadorO
Re: Looking for scripters/helpers? Post here!

Looking for a web/UCP developer, services will be paid. PM me.
Forum: General 20/11/2019, 04:14 PM
Replies: 24
Views: 2,722
Posted By IzadorO
Re: Was working on a project for 0.3dl but that's gone.

Never knew that was true, since I only use the favourite tab so I still see my 0.3DL servers as online. Thanks for clarifying though.
Forum: General 20/11/2019, 03:32 PM
Replies: 24
Views: 2,722
Posted By IzadorO
Re: Was working on a project for 0.3dl but that's gone.

Apparently the 0.3DL download was taken down, however you can still see how many players are in-game and you can connect so the second part is false.
Forum: General 19/11/2019, 02:38 AM
Replies: 21
Views: 2,959
Posted By IzadorO
Forum: Scripting Help 18/11/2019, 06:33 AM
Replies: 1
Views: 81
Posted By IzadorO
Re: ask enable disable

I think using pawn.CMD and handling it through flags is your best route. The easiest method would be to create a global variable to disable a list of commands, however if you wanted one or two...
Forum: Server Support 03/11/2019, 10:25 AM
Replies: 13
Views: 734
Posted By IzadorO
Re: OVH or Evolution?

You may need more storage space and ram. The current one I'm using has 30gb ram and 800gb storage but I'm not necessarily sure.
Forum: Server Support 03/11/2019, 10:18 AM
Replies: 13
Views: 734
Posted By IzadorO
Re: OVH or Evolution?

I believe you're better going with a VPS if you're planning on hosting a website as well as a server.
Forum: Scripting Help 02/11/2019, 03:35 AM
Replies: 9
Views: 277
Posted By IzadorO
Forum: Scripting Help 01/11/2019, 02:57 PM
Replies: 6
Views: 390
Posted By IzadorO
Re: What happen if 2 trains crashes?

Jackisthe1 is correct, I tested it myself with 2 trains, they both collide and it never works as overtime both trains end up colliding and running infront / behind eachother sometimes. And yes, no...
Forum: Server Support 31/10/2019, 08:53 PM
Replies: 14,462
Views: 1,756,910
Posted By IzadorO
Re: Looking for scripters/helpers? Post here!

Looking for anyone who is good with photo shop, will be paid for services. Also looking for staff for an upcoming project, PM me.
Forum: Scripting Help 29/10/2019, 12:06 PM
Replies: 14
Views: 301
Posted By IzadorO
Re: Checking if no one's player-specific variable is equal to value

for (new i = 0; i != MAX_PLAYERS; i ++)
{
if (LottoNumber[i] != LottoNum) {
SendClientMessage(i, COLOR_WHITE, "{FFFF00}LOTTO: Unfortunately you haven't won the lottery. Good luck...
Forum: Scripting Help 18/10/2019, 01:28 PM
Replies: 12
Views: 344
Posted By IzadorO
Re: sync issues [/enter] and [/exit]

It's either because some of your entrances don't have interiors, or it's a problem inside CMD:exit and CMD:enter.
If it's the first issue then replace GetPlayerInterior with something already in...
Forum: Scripting Help 17/10/2019, 09:25 PM
Replies: 12
Views: 344
Posted By IzadorO
Re: sync issues [/enter] and [/exit]

Very good point, you are correct. I failed to explain that part with the correct context.
Showing results 1 to 25 of 175

 

All times are GMT. The time now is 11:52 PM.


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