I need help with MySql factions! - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: I need help with MySql factions! (
/showthread.php?tid=150648)
I need help with MySql factions! -
Joseph! - 27.05.2010
Hello I am Joseph!
I am looking for an scripter helper that can make factions for an RP server!
INFO:
Factions:
LSPD
FBI
NG
Hitman
SANews
SAFMD
Taxi
USSS
And I hope YOU can help me!
CONTACT:
More info or relise it?
Contact me on:
msn: (jospehardizzone@live.com)
PM:
Me!
Re: I need help with MySql factions! -
shady91 - 27.05.2010
Why do you run a server if you can't script?? learn first it does my head in so many people are like
"hi I'm new I got a domain n its awesome we have good player base but cant script help us we give you admin"
and 9/10 people say to these kinda post NO if they get nothing in return.
Re: I need help with MySql factions! -
Joseph! - 27.05.2010
I can script but not so much in MYSQL!
I am trying to get factions to MYSQL, please help!
Re: I need help with MySql factions! -
shady91 - 27.05.2010
You can't script, cause if you could you wouldn't need help with it.
Re: I need help with MySql factions! -
Joseph! - 27.05.2010
I have made n RP server before but that was not in MYSQl!
All I need is as scripter that can make the faction!
Re: I need help with MySql factions! -
coole210 - 27.05.2010
It's the same process, make a variable, save it, load it.
Simple as that..
Converting to MySQL is simple too..
register:
Код:
query("INSERT INTO 'accounts' (faction) VALUES('first faction ID here'),connectionstring)
save:
Код:
format(string,sizeof(string),"UPDATE accounts SET faction = '%d' WHERE name = '%s'",Faction[playerid],GetName(playerid)); < faction id
so it would be like this for cmds etc:
Код:
if(Faction[playerid] == 1/2/3/4/5/6/7/etc)
// do something..
I don't even script MySQL i know this O.o
Re: I need help with MySql factions! -
Joseph! - 27.05.2010
Can somebody help ?
Re: I need help with MySql factions! -
playbox12 - 27.05.2010
Quote:
Originally Posted by Joseph!
Can somebody help ?
|
He just helped you, you say you can script you should understand a basic command like that.