SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: Symon
Forum: Includes 22/09/2020, 07:57 PM
Replies: 2
Views: 155
Posted By Symon
Re: Anticheat / ac-l0gic

symbol is never used: "DebugMsg"
symbol is never used: "PutPlayerInVehicleEx"

Also you said:



But in your include there's only CHEAT_TYPE_AIRBREAK and CHEAT_TYPE_WARP. Or am I missing...
Forum: Scripting Help 22/09/2020, 07:46 PM
Replies: 2
Views: 48
Posted By Symon
Re: [HELP] Weapon Ammo + Mysql

https://forum.sa-mp.com/showthread.php?t=505081
Forum: General 20/09/2020, 07:08 PM
Replies: 68
Views: 6,239
Posted By Symon
Re: [Development] SA:MP Luftschlacht - strategic WW2 Gameplay

I scripted from scratch a 35k lines gamemode ALONE (apart some help here and there), and yes I can understand you totally.

If you don't feel motivated then stop, there's no need to go forward if...
Forum: Scripting Help 18/09/2020, 05:36 PM
Replies: 16
Views: 297
Posted By Symon
Re: IssueKick problem

CMD:kick(playerid, params[])
{
if(ReturnStaffLevel(playerid) < 1) return 0;

new pID, reason[100];

if(sscanf(params, "rs[100]", pID, reason)) return SendUsageMessage(playerid, "/kick...
Forum: Scripting Help 18/09/2020, 12:40 PM
Replies: 16
Views: 297
Posted By Symon
Re: IssueKick problem

Same problem.
Forum: General 18/09/2020, 11:41 AM
Replies: 68
Views: 6,239
Posted By Symon
Re: [Development] SA:MP Luftschlacht - strategic WW2 Gameplay

Last update almost 1 month ago. Has the development stopped?
Forum: Scripting Help 17/09/2020, 06:54 PM
Replies: 16
Views: 297
Posted By Symon
Re: IssueKick problem

Excuse me lol, but this is my original code. I need help with this:

https://forum.sa-mp.com/showpost.php?p=4161651&postcount=7
Forum: Scripting Help 17/09/2020, 09:58 AM
Replies: 16
Views: 297
Posted By Symon
Re: IssueKick problem

Sorry for double post, l0gic I've tried the code you gave me:


IssueKick(adminid, playerid, const reason[])
{
SCMEX(playerid, COLOR_PINK, "[KICK] You have been kicked by %s - Reason: %s",...
Forum: Scripting Help 17/09/2020, 09:52 AM
Replies: 1
Views: 70
Posted By Symon
Re: How to use and Connect MySql Locally?

If you're using XAMPP on Windows make sure MYSQL_HOST is set to 'localhost' or '127.0.0.1'.

Username should be 'root' and no password is needed.
Forum: Scripting Help 17/09/2020, 09:05 AM
Replies: 16
Views: 297
Posted By Symon
Re: IssueKick problem

Thank you all.
Forum: Scripting Help 16/09/2020, 02:44 PM
Replies: 16
Views: 297
Posted By Symon
IssueKick problem

Probably it's a stupid and easy question but I've got this:


IssueKick(playerid, adminname[], reason[])
{
/* -- Inform Kicked Player -- */
SCMEX(playerid, COLOR_PINK, "[KICK] You have been...
Forum: Scripting Help 16/09/2020, 10:34 AM
Replies: 8
Views: 162
Posted By Symon
Re: Showing offline player stats

Suggestion: Before checking for stats, check if the player is offline. There is no need to execute a query if the player is online.
Forum: Scripting Help 16/09/2020, 10:26 AM
Replies: 10
Views: 314
Posted By Symon
Re: Compile takes 1600 seconds

26 minutes to compile a gamemode? You have clearly a serious optimization problem. Possible causes can be infinite (and repeated) loops, spaghetti code and so on. Not to mention the 168 mb size of...
Forum: Scripting Help 16/09/2020, 10:23 AM
Replies: 8
Views: 158
Posted By Symon
Re: Can someone help me?

I admire and respect your effort towards helping people but you shouldn't have posted this. Basically he asked 2 commands without knowing how to write a single line, you're just feeding him. Instead,...
Forum: Scripting Help 15/09/2020, 11:46 AM
Replies: 1
Views: 100
Posted By Symon
Level system

Currently in my gamemode I have a simple level system where player levels up based on EXP gained. I wanted to tweak it a bit and add some rewards. (EG: Level 5 unlocks a skin - Level 10 gives you...
Forum: Scripting Help 15/09/2020, 11:41 AM
Replies: 2
Views: 78
Posted By Symon
Betting system question

So, I'm doing a betting system for my gamemode.

Player A bets on player B, if player B wins player A will get the betted amount.

I've been thinking to do something like this:


new...
Forum: Scripting Help 15/09/2020, 11:38 AM
Replies: 7
Views: 204
Posted By Symon
Re: how to make the system hungry?

l0gic can you please explain this:


if(0 < Player[playerid][Food] <= 40 && Player[playerid][Food] % 10 == 0)


I've seen somewhere else using the percent in the if condition.
Forum: Scripting Help 14/09/2020, 06:05 PM
Replies: 4
Views: 164
Posted By Symon
Forum: Scripting Help 14/09/2020, 06:03 PM
Replies: 7
Views: 1,556
Posted By Symon
Re: Car Color list on dialog?

This is the first time that necroposting was useful. Thanks l0gic!
Forum: Scripting Help 13/09/2020, 09:22 AM
Replies: 5
Views: 114
Posted By Symon
Re: I need help with my script!

There is a way. He could create a variable where pickupid will be stored:


new playerPickupID[MAX_PLAYERS];

public OnPlayerPickUpPickup(playerid, pickupid)
{
playerPickupID[playerid] =...
Forum: Scripting Help 13/09/2020, 09:18 AM
Replies: 2
Views: 83
Posted By Symon
Re: My command has errors, i need help

CMD:rob(playerid,params[])
{
if(!InBank[playerid]) return SendClientMessage(playerid, 0xAA3333AA, "You are not in bank!");

if(last[playerid] < gettime())
{
last[playerid] =...
Forum: Includes 12/09/2020, 10:29 AM
Replies: 2
Views: 360
Posted By Symon
Re: samp-automatic-objects | Create movable objects with 1 line!

I like so much how the code is so clean and readable. Nice job.
Forum: Scripting Help 12/09/2020, 07:55 AM
Replies: 3
Views: 139
Posted By Symon
Re: Get random player

Thank you very much.
Forum: Scripting Help 11/09/2020, 01:53 PM
Replies: 3
Views: 139
Posted By Symon
Get random player

I need to select a random player, I can do it with Iter_Random but as you can see I have some checks:


GetRandomPlayer(avoid)
{
new count, rPlayers[MAX_PLAYERS] = {INVALID_PLAYER_ID, ...};
...
Forum: General 11/09/2020, 01:51 PM
Replies: 7
Views: 1,839
Posted By Symon
Re: ChatLogSaver - No more "I Lost my logs"!

Because he's a time traveler. :D
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 07:49 AM.


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