SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 02/05/2012, 12:42 PM   #1
nGen.SoNNy
Gangsta
 
nGen.SoNNy's Avatar
 
Join Date: Sep 2009
Location: Romania
Posts: 928
Reputation: 69
Talking Gang System MySQL StrickenKid to MySQL GStylezzz

Hello! Can somebody transform this Filterscript from MySQL StrickenKid to MySQL GStylezzz ? I will +Rep and very much thx Please help me

Filterscript attached!

pawn Code:
stock GetGangName(GangID)
{
    new gName[100], Query[150]; format(Query, sizeof(Query), "SELECT name FROM gangs WHERE id = %d;", GangID);
    mysql_query(Query);
    mysql_store_result();
    -> mysql_fetch_string(gName); <- I don't know to transform this part of the script!
    return gName;
}
Attached Files
File Type: pwn gang.pwn (15.5 KB, 146 views)
__________________
If i've helped you, please click
nGen.SoNNy is offline   Reply With Quote
Old 02/05/2012, 03:11 PM   #2
SuperViper
High-roller
 
SuperViper's Avatar
 
Join Date: Sep 2011
Posts: 1,178
Reputation: 315
Default Re: Gang System MySQL StrickenKid to MySQL GStylezzz

pawn Code:
mysql_fetch_row(gName);
__________________
Release NameUse
FairPlayKeep the cheaters out of your server
Object Model ArrayArray of every single object model in the game
RCON PanelControl any server as you like with RCON controls
SlopeClimb up a steep hill against other players with cars falling down

I do not play on any SAMP server. Anyone with the name Ricky Phelps in-game is an imposter.
SuperViper is offline   Reply With Quote
Old 02/05/2012, 04:37 PM   #3
nGen.SoNNy
Gangsta
 
nGen.SoNNy's Avatar
 
Join Date: Sep 2009
Location: Romania
Posts: 928
Reputation: 69
Default Re: Gang System MySQL StrickenKid to MySQL GStylezzz

Thx very much
__________________
If i've helped you, please click
nGen.SoNNy is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Gang System MYSQL into SQL nGen.SoNNy Scripting Help 0 26/03/2012 02:09 PM
MYSQL by G-Stylezz or by Strickenkid QuaTTrO Help Archive 8 16/05/2011 06:31 PM
Help. C-MySQL + GStylezzz .. not loading. 1337connor Help Archive 2 27/01/2011 09:36 PM
Problem with MySQL-Plugin 2.1 (StrickenKid) perelo Server Support 5 06/12/2010 06:01 PM


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


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