SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.01 seconds.
Search: Posts Made By: XStormiest
Forum: Scripting Help 18/05/2020, 07:04 PM
Replies: 3
Views: 84
Posted By XStormiest
Re: Bug sistema vip

The maximum characters that OnPlayerText allows are 256.

ID cannot be more than 1000 which means 4 characters at max.
Your text length is about 49 characters.


I'm assuming you want to create...
Forum: Scripting Help 18/05/2020, 06:50 PM
Replies: 11
Views: 245
Posted By XStormiest
Re: achievements

I believe this image will help you understand the design of the database, although, this is just an example.
https://imgshare.io/image/NNHAYY
Forum: Scripting Help 18/05/2020, 06:05 PM
Replies: 14
Views: 517
Posted By XStormiest
Re: I need a working detection of country script

I will give you an example for this one geolocation.inc, since it is the one I've been using and it works.

GetCountry(playerid)
{
new country[32], message[128], name[24];
...
Forum: Scripting Help 18/05/2020, 05:58 PM
Replies: 11
Views: 245
Posted By XStormiest
Re: achievements

Well, every time you create a new achievement, you create it for the player, or the player name or character name or whatever you want to use. You need to create a table that has 2 foreign keys. One...
Forum: Scripting Help 18/05/2020, 05:52 PM
Replies: 16
Views: 275
Posted By XStormiest
Re: My Server Problem

It should be, yes. But the thing is, you forgot to set 'arrayIndex' to 0.
Also, the sscanf part seems to be okay.
Forum: Scripting Help 18/05/2020, 05:40 PM
Replies: 3
Views: 84
Posted By XStormiest
Re: Bug sistema vip

Firstly, please use the correct section of this forum as this is the English section.
Por favor, use a seção correta deste fórum, pois esta é a seção em inglês.
Uma mensagem pode aceitar até 256...
Forum: Scripting Help 18/05/2020, 05:31 PM
Replies: 11
Views: 245
Posted By XStormiest
Re: achievements

LoadPlayerAchievement(playerid, achvid)
{
// Get the MySQL query
new query[256];
format(query, sizeof(query), "SELECT `pID`, `achvid` FROM `achievements` WHERE `pName` = '%s' AND...
Forum: Scripting Help 18/05/2020, 05:05 PM
Replies: 2
Views: 124
Posted By XStormiest
Forum: Scripting Help 18/05/2020, 04:56 PM
Replies: 11
Views: 245
Posted By XStormiest
Re: achievements

You do not need a variable for every achievement. You will perform MySQL database queries to select the achievement you want to load into a variable. Then use that variable to do whatever you want. I...
Forum: Scripting Help 18/05/2020, 04:51 PM
Replies: 14
Views: 517
Posted By XStormiest
Re: I need a working detection of country script

1. Have you made sure you had all the required files?
2. Have you used a string to store the name of the country, city, etc?
Please come with the code that you tried.
Forum: Tutorials 12/05/2020, 09:04 PM
Replies: 2
Views: 757
Posted By XStormiest
Re: An In-Depth philosophy to creating a SA-MP Server.

As I said, the idea of this tutorial is not the code itself but the concept of how to implement the code. There are many great tutorials out there for a way better code for flying hack check, this is...
Forum: Tutorials 12/05/2020, 08:15 PM
Replies: 2
Views: 757
Posted By XStormiest
Lightbulb An In-Depth philosophy to creating a SA-MP Server.

Introduction
Hello, for those of you who do not know me, I've been here for quite a while. I have created several gamemodes and scripts, some of them I published here, and some of them had laid...
Forum: Scripting Help 11/09/2019, 07:14 PM
Replies: 3
Views: 189
Posted By XStormiest
Re: Question about Arrays/MySQL

So what are you telling me is that I sould do something like this?


enum PLAYER_CARS
{
//etc variables
Vehicle[MAX_PLAYERS_VEHICLES]
}
new P_CARS[MAX_PLAYERS][PLAYER_CARS]
Forum: Scripting Help 10/09/2019, 06:36 PM
Replies: 3
Views: 189
Posted By XStormiest
Question about Arrays/MySQL

So, let's say I have a table populated with a player's car (player_cars) and another table called server_cars, that car also has properties.
I want to load every single car into the script.
My...
Forum: Scripting Help 21/04/2019, 03:52 PM
Replies: 0
Views: 204
Posted By XStormiest
Weird error when I try to send an email with HTTP function

So I tried to send an email with a php code for an account confirmation, all good untill I type my email then I get this


Edit: Error 400 Bad Request


<!DOCTYPE html PUBLIC "-//W3C//DTD...
Forum: Scripting Help 16/04/2019, 08:22 AM
Replies: 3
Views: 437
Posted By XStormiest
Re: Email confirmation script.

So..nobody knows how to that?
Forum: Includes 15/04/2019, 02:23 PM
Replies: 149
[Include] My Mailer Include
Views: 86,479
Posted By XStormiest
Re: My Mailer Include

I get this while trying to use your code...

[17:20:51] Mailer script says:
Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in...
Forum: Scripting Help 15/04/2019, 10:08 AM
Replies: 3
Views: 437
Posted By XStormiest
Email confirmation script.

I'm trying to make an email confirmation for my script
Here is the php code in my xampp server

The problem is that whatever I"m doing the email is not being sent...

<?php

if( isset(...
Forum: Filterscripts 08/04/2019, 04:08 PM
Replies: 3
[FilterScript] GPS Bullet v0.9
Views: 2,057
Posted By XStormiest
Re: GPS Bullet v0.9

Nice song choice, lol. This is a cool ideea and maybe of good use for some servers. Well done.
Forum: Scripting Help 26/09/2018, 09:26 AM
Replies: 7
Views: 491
Posted By XStormiest
Re: How to get the highest score and give him a prize

--i // It decreases the value first and then asign it to the variable

The other one works the other way around.
Forum: Filterscripts 26/09/2018, 08:59 AM
Replies: 8
[FilterScript] Wallet [Y_INI][ZCMD]
Views: 2,053
Posted By XStormiest
Re: Wallet [Y_INI][ZCMD]

Something new, I like it.
Forum: Filterscripts 26/09/2018, 08:45 AM
Replies: 8
Views: 1,851
Posted By XStormiest
Re: Anti-Speed - Vehicles Only

I didn't say it was AI, I said it was based on an AI concept and I know it's not something special, I didn't make this to show how great I am because everyone can do anything if you think about it. I...
Forum: Filterscripts 25/09/2018, 11:04 PM
Replies: 8
Views: 1,851
Posted By XStormiest
Re: Anti-Speed - Vehicles Only

Updated to v1.2:


Changelog:

Included MapAndreas for height verifications so that the anti-cheat won't detect falling down as an hack!
Forum: Scripting Help 25/09/2018, 08:02 PM
Replies: 4
Views: 225
Posted By XStormiest
Re: Weapons loading problem

Okay, thank you ,I'll change that.
Forum: Scripting Help 25/09/2018, 07:33 PM
Replies: 4
Views: 225
Posted By XStormiest
Re: Weapons loading problem

I designed it this way so it won't be like 10000000 rows for each player in the database, this way is faster.
But thanks for reminding me of strval I completely forgot that.
I will change that and...
Showing results 1 to 25 of 500

 

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


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