SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 101
Search took 0.00 seconds.
Search: Posts Made By: skuller12
Forum: Scripting Help 09/05/2018, 05:21 PM
Replies: 21
Views: 1,271
Posted By skuller12
Re: No Logs

public PingKick()
{
if(ServerInfo[MaxPing] != 0)
{
PingPos++;
if(PingPos > PING_MAX_EXCEEDS-1) PingPos = 0;

for(new i=0; i<MAX_PLAYERS; i++)
{
AccInfo[i][pPing][PingPos] =...
Forum: Scripting Help 09/03/2018, 12:29 PM
Replies: 3
Views: 216
Posted By skuller12
Re: array

status[35] nu status simplu ptr ca e tip string
Forum: Scripting Help 09/01/2018, 09:06 PM
Replies: 3
Views: 325
Posted By skuller12
Re: Problem with player variable

reason = Idkazne[playerid]
id = Idkaznenog[playerid]
Forum: Scripting Help 27/08/2017, 01:58 PM
Replies: 11
Views: 745
Posted By skuller12
Re: Scripting startup help

for hash password use md5
for commands system pawn.cmd(its very fast)
for objects streamer(.dll and .inc)
Forum: Scripting Help 27/08/2017, 01:56 PM
Replies: 6
Views: 586
Posted By skuller12
Re: sscanf issue

show me your command complete
Forum: Scripting Help 27/08/2017, 12:27 PM
Replies: 6
Views: 586
Posted By skuller12
Re: sscanf issue

you have "#include <sscanf2>" ?
Forum: Scripting Help 27/08/2017, 09:55 AM
Replies: 6
Views: 586
Posted By skuller12
Re: sscanf issue

Solve:


if(sscanf(params, "iii", var1, var2, var3))


Example:


cmd:test(playerid, params[])
Forum: Scripting Help 25/08/2017, 01:36 PM
Replies: 15
Views: 812
Posted By skuller12
Re: cache_get_row_int error

The code to extract if a player exists in db is:

Ex:

mysql_format(handle, gString, 256, "SELECT * FROM `users` WHERE `Name` = '%e' AND `Password` = '%e'", GetName(playerid), password);...
Forum: Scripting Help 25/08/2017, 01:23 PM
Replies: 15
Views: 812
Posted By skuller12
Re: cache_get_row_int error

There are plenty ...
Forum: Scripting Help 25/08/2017, 01:03 PM
Replies: 15
Views: 812
Posted By skuller12
Re: cache_get_row_int error

In CMD:login

mysql_format(kapcsolat, Query, sizeof(Query), "SELECT * FROM players WHERE name = '%e' AND password = '%e'", nev, Whirlpool(jelszo));
mysql_tquery(kapcsolat, Query,...
Forum: Scripting Help 25/08/2017, 12:25 PM
Replies: 15
Views: 812
Posted By skuller12
Re: cache_get_row_int error

Show me your onplayerlogin
Forum: Scripting Help 25/08/2017, 11:08 AM
Replies: 15
Views: 812
Posted By skuller12
Re: cache_get_row_int error

Score[playerid] = cache_get_field_content_int(0, "score", kapcsolat);
Forum: Scripting Help 25/08/2017, 09:19 AM
Replies: 15
Views: 812
Posted By skuller12
Re: cache_get_row_int error

You may have a handle instead of connectionHandle or mysql_db

Show me your mysql_connect: ex: handle = mysql_connect(..., ..., ..., ...);


Score[playerid] = cache_get_field_content_int(0,...
Forum: Scripting Help 25/08/2017, 08:28 AM
Replies: 15
Views: 812
Posted By skuller12
Re: cache_get_row_int error

Try


Score[playerid] = cache_get_field_content_int(0, "Score", connectionHandle);
Forum: Scripting Help 31/07/2017, 11:08 AM
Replies: 19
Views: 1,138
Posted By skuller12
Re: Access denied MYSQL ?

@Crystallize show me your mysql_password
Forum: Scripting Help 24/07/2017, 09:39 AM
Replies: 15
Views: 2,596
Posted By skuller12
Re: Problem connection mysql r41-3

The MySQL R41-2 works perfectly .. on the R41-3 not ...
Forum: Scripting Help 24/07/2017, 09:34 AM
Replies: 8
Views: 394
Posted By skuller12
Re: What to add

format(s, 24, "Slot%d", i),PlayerInfo[playerid][Slot[i]] = dini_Get(file, s);
Forum: Scripting Help 24/07/2017, 09:32 AM
Replies: 15
Views: 2,596
Posted By skuller12
Re: Problem connection mysql r41-3

We also deactivated security and it does the same
Forum: Scripting Help 24/07/2017, 09:26 AM
Replies: 15
Views: 2,596
Posted By skuller12
Re: Problem connection mysql r41-3

I use XAMPP

Edit:

We also deactivated security and it does the same
Forum: Scripting Help 24/07/2017, 09:18 AM
Replies: 15
Views: 2,596
Posted By skuller12
Re: Problem connection mysql r41-3

function LoadCars()
{
new Personal_Vehicles = cache_num_rows(), id;
for(new i = 0; i < Personal_Vehicles; i++)
{
cache_get_value_name_int(i, "ID", id);
cache_get_value_name_int(i, "ID",...
Forum: Scripting Help 24/07/2017, 08:44 AM
Replies: 15
Views: 2,596
Posted By skuller12
Re: Problem connection mysql r41-3

Server1 is for host, server2 is for localhost

Edit:

That's the same thing I do, the same problems
Forum: Scripting Help 24/07/2017, 06:42 AM
Replies: 15
Views: 2,596
Posted By skuller12
Forum: Scripting Help 23/07/2017, 05:22 AM
Replies: 15
Views: 2,596
Posted By skuller12
Forum: Scripting Help 22/07/2017, 05:20 PM
Replies: 5
Views: 351
Posted By skuller12
Forum: Scripting Help 22/07/2017, 05:10 PM
Replies: 7
Views: 516
Posted By skuller12
Re: [MySQL] tquery issue

mysql_tquery(sql, "SELECT * FROM `clans`", "tLoadClans", "");

Edit:

new id;

id = cache_get_field_content_int(i, "clanID");
and

ClanDB[id][ClanID] = cache_get_field_content_int(i,...
Showing results 1 to 25 of 101

 

All times are GMT. The time now is 01:30 AM.


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