SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.02 seconds.
Search: Posts Made By: Symon
Forum: Server Support 03/08/2020, 05:31 PM
Replies: 15
Views: 450
Posted By Symon
Re: Ban System: Dealing with Dynamic IPs

Well that's a good and funny trick but never thought about legit players who can't join because a cheater is filling their player slot? (Think about a full server) :D

Another trick is to play a...
Forum: Scripting Help 31/07/2020, 07:29 PM
Replies: 7
Views: 170
Posted By Symon
Re: Update Mysql :/

It's cache_get_value_float.

Same for index_int, must be: cache_get_value_int.
Forum: Scripting Help 31/07/2020, 11:33 AM
Replies: 5
Views: 133
Posted By Symon
Re: Bug /Changenick

@Rhett you don't get it. My suggestion was to handle everything with the dialog and show it in the command.
Forum: Tutorials 31/07/2020, 10:35 AM
Replies: 3
[Tutorial] Anti Shot Repeater
Views: 190
Posted By Symon
Re: Anti Shot Repeater

Please stop writing tutorials in spanish, this is an english forum. You created 7 topics with not even a single line of english written inside. Read bord rules.
Forum: Scripting Help 31/07/2020, 10:29 AM
Replies: 5
Views: 133
Posted By Symon
Re: Bug /Changenick

For the sake and respect of who spent years of coding and tries to help people in any way they can, please:

1) Use a command processor, strcmp is old and inefficient.
2) This is not how you write...
Forum: Everything and Nothing 29/07/2020, 11:16 AM
Replies: 8
Views: 418
Posted By Symon
Forum: Includes 29/07/2020, 02:37 AM
Replies: 9
Views: 455
Posted By Symon
Re: Samp Advanced Kicks | Kick with reason | Kick with delay

You misunderstood me. I meant there's no reason to use sampctl for such a simple include. I'd use it for bigger scripts (like modular gamemodes) where you can enjoy sampctl at its maximum power.

...
Forum: Includes 28/07/2020, 09:42 PM
Replies: 9
Views: 411
Posted By Symon
Re: Advanced Model Selection Menu (eSelection)

Yeah i know.

What about a weapon selection? How OnModelSelectionResponse will be handled? Since you're using "modelid" but i guess is a generic name and not referred to skins only, or am I wrong?...
Forum: News and Updates 28/07/2020, 08:18 PM
Replies: 379
Views: 143,932
Posted By Symon
Re: SA-MP 0.3.7 is released!

https://forum.sa-mp.com/showthread.php?t=666723
Forum: General 28/07/2020, 08:15 PM
Replies: 7
Views: 375
Posted By Symon
Re: SA-MP

This post (https://forum.sa-mp.com/showpost.php?p=4117537&postcount=9) in particular. :D
Forum: Includes 28/07/2020, 08:08 PM
Replies: 9
Views: 411
Posted By Symon
Re: Advanced Model Selection Menu (eSelection)

Nice job, a refresh was needed! :D

A question, what if I want to add ALL skins?

Can I simply do in this way?


new List:skins = list_new();
for(new s = 0; s <= 311; s ++)...
Forum: Includes 28/07/2020, 02:04 PM
Replies: 9
Views: 455
Posted By Symon
Re: Samp Advanced Kicks | Kick with reason | Kick with delay

So let me understand, i have to install sampctl, download your script where i don't see the source (or am I blind?) and add your include while I can simply do:


DelayedKick(playerid)
{...
Forum: Client Support 27/07/2020, 08:43 PM
Replies: 1
Views: 124
Posted By Symon
Re: How to add samp editor map?

You have to convert objects using a converter (search for convertffs).
Forum: General 26/07/2020, 04:57 PM
Replies: 7
Views: 375
Posted By Symon
Re: SA-MP

I think by reading his signature you'll understand everything you want to know.
Forum: Scripting Help 24/07/2020, 09:26 AM
Replies: 3
Views: 128
Posted By Symon
Re: Budget help

1) Open: https://wiki.sa-mp.com/wiki/Fopen
2) Write: https://wiki.sa-mp.com/wiki/Fwrite
3) Close: https://wiki.sa-mp.com/wiki/Fclose
Forum: Scripting Help 23/07/2020, 08:28 PM
Replies: 2
Views: 117
Posted By Symon
Re: 10 minute timer: if delivered for 6 mins = more payment

I don't understand why you have to complicate your life when you can do everything in a blink of an eye...

Just store the time left when the deliver starts:


new pTimeLeft[MAX_PLAYERS];
...
Forum: Everything and Nothing 23/07/2020, 08:20 PM
Replies: 8
Views: 379
Posted By Symon
Re: DNS record instead of ip adress

I don't see anything wrong too. If you type server.mydomain.net in your browser, what does it happen?
Forum: General 20/07/2020, 07:40 PM
Replies: 56
Views: 4,404
Posted By Symon
Forum: Scripting Help 20/07/2020, 07:38 PM
Replies: 1
Views: 158
Posted By Symon
Re: how can i make this

No need to put it inside the loop, do it outside after:


LobbyInfo[lobby][GameStarted] = 1;
Forum: Scripting Help 20/07/2020, 07:36 PM
Replies: 2
Views: 125
Posted By Symon
Re: Help With my House System

That loop is used to search through all houses stored in the "casas" file. As i can see, he's not using multiple files (house1, house2 ...) but just an unique one. However both ways are slow, old and...
Forum: Scripting Help 20/07/2020, 07:31 PM
Replies: 2
Views: 113
Posted By Symon
Re: Cannot add symbol to server name

You have to change the encoding to Western 1252 or UTF-8 in your IDE and then recompile. I don't remember which one is the correct setting tho.
Forum: Scripting Help 20/07/2020, 07:29 PM
Replies: 1
Views: 92
Posted By Symon
Re: PayDay PRoblem!!

Nobody's gonna read a whole gamemode just to find the related code. Post it instead.
Forum: Scripting Help 20/07/2020, 04:46 PM
Replies: 5
Views: 217
Posted By Symon
Re: Shooting NPCs?

Never heard of FNPC?
Forum: Scripting Help 17/07/2020, 07:29 PM
Replies: 4
Views: 182
Posted By Symon
Re: Samp Server Radio Talking System

Well not so hard, depends how you create those radio channels.

Imagine you have 9 channels (1-9), create a variable like:


new pCurrentChannel[MAX_PLAYERS];


In OnPlayerText loop through...
Forum: Scripting Help 16/07/2020, 09:01 PM
Replies: 5
Views: 142
Posted By Symon
Re: if, else, else if, problem

Since you're using y_iterate, instead of MAX_LOBBIES, you can use foreach and loop through all lobbies:


foreach(new i : Lobby/WaitingPlayers)


And as you've added MAX_LOBIES, i would edit...
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 09:14 PM.


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