SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 56
Search took 0.00 seconds.
Search: Posts Made By: Robson04
Forum: Includes 21/08/2019, 11:15 AM
Replies: 0
[Include] Advanced Anti-AFK
Views: 109
Posted By Robson04
Advanced Anti-AFK

Advanced Anti-AFK
----------------------------------------------------------

Hi everyone. I provide you with my include that I have subscribed to this month. It concerns the anti afk system. It...
Forum: Scripting Help 15/08/2019, 09:00 PM
Replies: 15
Views: 343
Posted By Robson04
Re: Problem

Yes. You don't show this message. You format string and you aren't show it. Show me SendLEOMessage.
Forum: Scripting Help 15/08/2019, 07:12 PM
Replies: 5
Views: 114
Posted By Robson04
Re: BIG Label

You must create object, no 3dtext.
Forum: Scripting Help 15/08/2019, 04:43 PM
Replies: 9
Views: 223
Posted By Robson04
Re: How to make a server pick a certain percentage of players?

Create iteretor to reorder players. You can restore players to any iter. Create index variable and add num++; and check if index > (count) add more players to 2nd iter.
Forum: Scripting Help 15/08/2019, 04:39 PM
Replies: 5
Views: 114
Posted By Robson04
Re: BIG Label

Yaaas, this is object. You can use materialtext function to create this.
Forum: Scripting Help 04/08/2019, 06:03 PM
Replies: 2
Views: 65
Posted By Robson04
Re: Help, crash users.

Do you have any object with texture?
Forum: Scripting Help 01/08/2019, 02:04 PM
Replies: 7
Views: 149
Posted By Robson04
Re: CJ's skin at spawn

Yass, check pSkin variable. Maybe have '0'.

Try not to use a variable, check it in the num.

public OnPlayerSpawn (playerid)
{
SetPlayerSkin (playerid, 114); //spawn vla1
}
Forum: Scripting Help 01/08/2019, 10:45 AM
Replies: 9
Views: 138
Posted By Robson04
Re: OnPlayerFinishedDownloading problem

This is works! I will observe it, if it crashes, I will use the loop of which we were thinking. Thanks.
Forum: Scripting Help 01/08/2019, 10:29 AM
Replies: 9
Views: 138
Posted By Robson04
Re: OnPlayerFinishedDownloading problem

My statement is pointless. Without throwing the player, it will crash when loading models, because OnPlayerFinishingDownloading does not execute after 'gmx'.

But when I change it, vw will force...
Forum: Plugin Development 01/08/2019, 09:39 AM
Replies: 109
[Plugin] Timer Fix
Views: 24,793
Posted By Robson04
Re: Timer Fix

This is problem from plugin.
Forum: Scripting Help 01/08/2019, 09:33 AM
Replies: 9
Views: 138
Posted By Robson04
Re: OnPlayerFinishedDownloading problem

Can I somehow avoid this loop? I would like this callback to be performed even at reboot.
But then playerid was not download files after restart when this models id gonna crash. There is no another...
Forum: Scripting Help 01/08/2019, 09:29 AM
Replies: 9
Views: 138
Posted By Robson04
Re: OnPlayerFinishedDownloading problem

Yes thank you. I mean about this loop. I was changing in past vw and this was not got crashes but this time have crash.
Forum: Scripting Help 01/08/2019, 09:08 AM
Replies: 9
Views: 138
Posted By Robson04
Re: OnPlayerFinishedDownloading problem

Yes, onplayerfinishingdownloading has called if playerid is connect but when I restart server using 'gmx' this callback isnt called.
Forum: Scripting Help 31/07/2019, 07:27 PM
Replies: 9
Views: 138
Posted By Robson04
Question OnPlayerFinishedDownloading problem

Hi everyone.
I had problem with this callback. In this code (look down, pawn code) OnPlayerFinishedDownloading sometimes don't call. I don't know why this isn't called. I change player virtual world...
Forum: Scripting Help 24/07/2019, 09:35 AM
Replies: 4
Views: 112
Posted By Robson04
Re: problem when my server is shuting down.

I using mysql data and I don't save data on OnGameModeExit. This callback is empty. No operations in shutting down. I try to debug and use crashdetect.
Forum: Scripting Help 24/07/2019, 08:42 AM
Replies: 4
Views: 112
Posted By Robson04
Re: problem when my server is shuting down.

Hi. I not hosting my server on any platform. This is localhost. I mean about when i closing server. When he's shutting down.
Forum: Scripting Help 23/07/2019, 06:53 PM
Replies: 3
Views: 116
Posted By Robson04
Re: [debug] Run time error 19: "File or function is not found"

The error is coming from your gamemode script.
Show this functions:

[debug] cvector
[debug] cvector_size
[debug] cvector_get_arr
[debug] cvector_push_back_arr
[debug] Run time error 19:...
Forum: Scripting Help 23/07/2019, 06:14 PM
Replies: 2
Views: 106
Posted By Robson04
Re: anti vpn

All scripts anty-vps is not exact.
Try to use a_http and check the address ip location. U can get country and u can check this in your script.
Forum: Scripting Help 23/07/2019, 05:26 PM
Replies: 4
Views: 112
Posted By Robson04
problem when my server is shuting down.

Hey.
My server is too long time closing when i pressing "X" or "exit" (maybe 5sec, max 7. I NOTE all my test servers don't needed this long time.). What it can be caused?
This is the problem of my...
Forum: Scripting Help 19/07/2019, 12:09 PM
Replies: 9
Views: 134
Posted By Robson04
Re: get/set data to enum using "i" from loop

yes, this is work.
I use array in textdraws and enum data.
Forum: Scripting Help 19/07/2019, 11:22 AM
Replies: 9
Views: 134
Posted By Robson04
Re: get/set data to enum using "i" from loop

Btw. the next problem are textdraws.
The same option. td_group1-8_name.
I want to use tuples to avoid generating unnecessary lines of code.


for(new i = 1; i <= 8; i++)
{...
Forum: Scripting Help 19/07/2019, 11:16 AM
Replies: 9
Views: 134
Posted By Robson04
Re: get/set data to enum using "i" from loop

I knew about that. But is any way to do it?
Forum: Scripting Help 19/07/2019, 10:54 AM
Replies: 9
Views: 134
Posted By Robson04
Re: get/set data to enum using "i" from loop

In my enum data I have Group1, Group2, Group3 and go to Group8. To optimize this, I want to check the result using a loop instead of using ifs to check these variables one by one.
Forum: Scripting Help 19/07/2019, 10:50 AM
Replies: 9
Views: 134
Posted By Robson04
get/set data to enum using "i" from loop

Hi. Can I maneuver variables with enum data using a loop?
See;

for(new i = 1; i <= 8; i++)
{
pData[playerid][Group_i] = 0; //this not works because normal. Compilator doesn't see "i". How...
Forum: Scripting Help 16/07/2019, 04:20 PM
Replies: 2
Views: 116
Posted By Robson04
SetPlayerTeam and OnPlayerTakeDamage problem

Hi everyone.
I had a problem of my manual system of health. I create a server-data health. If I remove health by the amount of call is isn't work.
What can I do?

My code;

public...
Showing results 1 to 25 of 56

 

All times are GMT. The time now is 10:32 PM.


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