SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 115
Search took 0.01 seconds.
Search: Posts Made By: Ertouq
Forum: Scripting Help 26/07/2020, 10:29 AM
Replies: 3
Views: 437
Posted By Ertouq
Re: crash server

Thanks! Fixed :)
Forum: Scripting Help 25/07/2020, 08:30 PM
Replies: 3
Views: 437
Posted By Ertouq
crash server

Hello, the server crashed when i banned someone, I don't know what happens.

[16:14:10] [debug] Server crashed due to an unknown error
[16:14:10] [debug] Native backtrace:
[16:14:10] [debug] #0...
Forum: Scripting Help 10/06/2020, 08:15 AM
Replies: 3
Views: 155
Posted By Ertouq
Re: How to get player skin back?

You need to create a skin variable for each one (Example: SkinDuty[playerid]) and put the skin there. You have the skin CJ because "Skin" is not a skin nor is it a variable. You're putting in...
Forum: Scripting Help 07/06/2020, 07:58 PM
Replies: 2
Views: 106
Posted By Ertouq
Re: Give me please

Here (https://lmgtfy.com/?q=system+events+samp&iie=1)

Anyway, the best event system is one of its own. Try to do one little by little, if you don't know something let us know.
Forum: Scripting Help 07/06/2020, 07:04 PM
Replies: 4
Views: 113
Posted By Ertouq
Re: invisible in radar

I forgot to change the [ATT] to [DEF] in the 2 if. No, there's no color change afterwards. Thank you for telling me :)
Forum: Scripting Help 07/06/2020, 06:31 PM
Replies: 4
Views: 113
Posted By Ertouq
Re: invisible in radar

Fixed. In the "ifs" i have [playerid] when is [i], lol. Thanks anyway
Forum: Scripting Help 07/06/2020, 06:14 PM
Replies: 4
Views: 113
Posted By Ertouq
invisible in radar

Hello! Why is the radar icon displayed when it shouldn't be displayed? Only the name and life bars are removed

In OnPlayerSpawn

if(PlayerInfo[playerid][Invisible] == 1)
{
...
Forum: Scripting Help 04/06/2020, 07:02 AM
Replies: 3
Views: 107
Posted By Ertouq
Re: big backtrace

Oh my god... I didn't notice that. Mistakes that happen when you do everything fast. Thank you.
Forum: Scripting Help 04/06/2020, 05:58 AM
Replies: 3
Views: 107
Posted By Ertouq
big backtrace

Hello! It's me again with another backtrace.

This happened when X user disconnected. This showed in the next 4 seconds

[00:39:36] [debug] Server crashed game executing game.amx
[00:39:36]...
Forum: Scripting Help 04/06/2020, 05:51 AM
Replies: 12
Views: 253
Posted By Ertouq
Re: another backtrace

Thank you. Works fine!
Forum: Scripting Help 03/06/2020, 04:38 PM
Replies: 12
Views: 253
Posted By Ertouq
Forum: Scripting Help 03/06/2020, 07:42 AM
Replies: 12
Views: 253
Posted By Ertouq
Re: another backtrace

Uh, I didn't quite understand, could you give me an example?
Forum: Scripting Help 03/06/2020, 07:31 AM
Replies: 12
Views: 253
Posted By Ertouq
Re: another backtrace

I checked and I don't see anything wrong, could you tell me a clue? I will post the code.








public OnPlayerDisconnect(playerid, reason)
Forum: Scripting Help 02/06/2020, 11:56 PM
Replies: 12
Views: 253
Posted By Ertouq
Forum: Scripting Help 02/06/2020, 11:04 AM
Replies: 2
Views: 85
Posted By Ertouq
Re: Kick delay and message not working.

CMD:kick(playerid, params[])
{
if(pInfo[playerid][pAdmin] == 0) return SendClientMessage(playerid, WHITE, "Server: Unknown command.");
new stringadm[144];
new str[144], id,...
Forum: Scripting Help 02/06/2020, 09:14 AM
Replies: 12
Views: 253
Posted By Ertouq
Re: another backtrace

The line is the one I put in:

format(str, sizeof(str), "%s abandoned the server in the mid of a duel vs %s. %s is the winner. [%.0f health and %.0f armour]", GetName(playerid), GetName(id),...
Forum: Scripting Help 02/06/2020, 08:51 AM
Replies: 12
Views: 253
Posted By Ertouq
another backtrace

Hello! I found this recently:

[18:09:34] [debug] Run time error 4: "Array index out of bounds"
[18:09:34] [debug] Attempted to read/write array element at negative index -1
[18:09:34] [debug]...
Forum: Scripting Help 29/05/2020, 01:21 PM
Replies: 2
Views: 125
Posted By Ertouq
Forum: Scripting Help 29/05/2020, 10:59 AM
Replies: 2
Views: 125
Posted By Ertouq
count players

Hello, I have come up with an interesting minigame but I don't know how to match the number of players, if team 1 has 1 player, you enter Team 2 and when Team 2 has the same amount, the next player...
Forum: Scripting Help 29/05/2020, 08:33 AM
Replies: 5
Views: 133
Posted By Ertouq
Re: backtrace

Don't worry, I did it myself when I read your answer as I understood. Thank you both very much.
Forum: Scripting Help 29/05/2020, 08:10 AM
Replies: 5
Views: 133
Posted By Ertouq
backtrace

Recently on my server I discovered this:


[18:31:24] [debug] Run time error 4: "Array index out of bounds"
[18:31:24] [debug] Attempted to read/write array element at index 65535 in array of...
Forum: Scripting Help 20/05/2020, 10:03 AM
Replies: 11
Views: 228
Posted By Ertouq
Re: achievements

bump idk if this ^^ is correct and idk how to add achievement
Forum: Scripting Help 18/05/2020, 08:05 PM
Replies: 3
Views: 75
Posted By Ertouq
Re: error 001: expected token: ",", but found "]"

public OnPlayerConnect(playerid)
{
Stats[playerid][0] = TextDrawCreate(10.000000, 129.644470, "box");
TextDrawLetterSize(Stats[playerid][0], 0.000000, 22.649972);...
Forum: Scripting Help 18/05/2020, 07:42 PM
Replies: 11
Views: 228
Posted By Ertouq
Re: achievements

Is this correct?

achievements:

http://prntscr.com/sj7do0

p_achievements:

http://prntscr.com/sj7e1q
Forum: Scripting Help 18/05/2020, 06:10 PM
Replies: 11
Views: 228
Posted By Ertouq
Re: achievements

Thank you very much, but I have not understood completely, excuse me (I need coffre haha). If it's not too much trouble you could show me a picture on the db of what it would be like? I haven't...
Showing results 1 to 25 of 115

 

All times are GMT. The time now is 05:02 PM.


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