SA-MP Forums Archive
[GameMode] The Life of Flying (Aviation, From scratch, MySQL) - 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: Gamemode Scripts (https://sampforum.blast.hk/forumdisplay.php?fid=71)
+--- Thread: [GameMode] The Life of Flying (Aviation, From scratch, MySQL) (/showthread.php?tid=437256)

Pages: 1 2 3 4


Re: The Life of Flying (Aviation, From scratch, MySQL) - ESGaming - 24.05.2013

Oh so someone was impersonating you?


Re: The Life of Flying (Aviation, From scratch, MySQL) - gogokickup - 25.05.2013

WOW
nice work
+rep


Re: The Life of Flying (Aviation, From scratch, MySQL) - Geeboi_Mehdi - 25.05.2013

hey i have some thing to ask how does the coupon thing work you got to claim it or some thing can you explain it please


Re: The Life of Flying (Aviation, From scratch, MySQL) - Pizzy - 26.05.2013

Quote:
Originally Posted by Geeboi_Mehdi
Посмотреть сообщение
hey i have some thing to ask how does the coupon thing work you got to claim it or some thing can you explain it please
You can add coupons into the MySQL database, and set a 'cash reward' value.

So simply type in for a coupon: mycoupon22, set the value to around 500000


And the first person to type /claim and then type in mycoupon22 will win 500k, and the coupon will be deleted.


Re: The Life of Flying (Aviation, From scratch, MySQL) - Jernu - 26.05.2013

What happened to the TDM gamemode?


Re: The Life of Flying (Aviation, From scratch, MySQL) - Geeboi_Mehdi - 27.05.2013

Thanks for explaining it zak thanks also can you tell me how to add new classes? i added busdriver but it dont show up when you pick a class
pawn Код:
public ShowRole(playerid)
{
    new finishedcustomization[256], finishedtut[256], finishedtut2[128], string[256];
    new Score = PInfo[playerid][TotalScore];
    format(finishedcustomization, 256, "{0000FF}Civilian Pilot {00FF00}[Available]");
    if(Score > 24) { format(finishedtut, 256, "{FF9900}Bus Driver {00FF00}[Available]"); }
    else if(Score < 25) { format(finishedtut, 256, "{FF9900}Bus Driver {FF0404}[Locked]"); }
    if(Score > 49) { format(finishedtut, 256, "{FF9900}Military Pilot {00FF00}[Available]"); }
    else if(Score < 50) { format(finishedtut, 256, "{FF9900}Military Pilot {FF0404}[Locked]"); }
    if(Score > 99) { format(finishedtut2, 256, "{00FFFF}Marine{00FF00}[Available]"); }
    else if(Score < 100) { format(finishedtut2, 256, "{00FFFF}Marine{FF0404}[Locked]"); }
    TogglePlayerControllable(playerid, 0);
    format(string, sizeof(string), "%s\n%s\n%s\n", finishedcustomization, finishedtut, finishedtut2);
    ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "{FFFFFF}Which role would you like to play as?", string, "Select", "");
    return 1;
}
only shows civilan pilot, military and marine why so?


Re: The Life of Flying (Aviation, From scratch, MySQL) - Pizzy - 29.05.2013

Glad you all like the script!


Sadly I don't give support because it's so old (and badly optimized). It hurts my eyes reading it now! :P


Re: The Life of Flying (Aviation, From scratch, MySQL) - Pizzy - 31.05.2013

Anyone set up their own server yet? I'd like to check it out!


Re: The Life of Flying (Aviation, From scratch, MySQL) - THE_KING$5$ - 31.05.2013

Well There is was a server of ours but we messed up in some places so its now off.


Re: The Life of Flying (Aviation, From scratch, MySQL) - Pizzy - 01.06.2013

Ah, that's a shame - anyone else??


Re: The Life of Flying (Aviation, From scratch, MySQL) - Tuntun - 01.06.2013

Yea me...


Re: The Life of Flying (Aviation, From scratch, MySQL) - MyNinja - 01.06.2013

Quote:
Originally Posted by Pizzy
Посмотреть сообщение
Ah, that's a shame - anyone else??
This guy called Mehdi does.


Re: The Life of Flying (Aviation, From scratch, MySQL) - Pizzy - 02.06.2013

Do you have any information about his server? website? PM me! .


Re: The Life of Flying (Aviation, From scratch, MySQL) - Excelize - 14.06.2013

Good GM, remember me from LoF? WickeD :P


Re: The Life of Flying (Aviation, From scratch, MySQL) - THE_KING$5$ - 14.06.2013

Hey Bro Pizzy. why my TS ( Test Server ) Shuts down when i do /reloadhouse??
Please tell me the problem and i will fix it by my self.


Re: The Life of Flying (Aviation, From scratch, MySQL) - omribobi5 - 16.06.2013

Its a Good server


Re: The Life of Flying (Aviation, From scratch, MySQL) - WoodyAllen - 16.06.2013

Hey folks,

this gamemode sounds great. So i tried to install to play with some friends on mine - like testing etc.
I installed XAMPP, activated MySQL and uploaded the .sql file. Also i created an table named samp using Navicat Lite.
Then I inserted my datas in the pawno file. Like this:

Код:
#define SQL_HOST "localhost"
#define SQL_USER "root"
#define SQL_PASS "12345" //edit this once im gone and compile.
#define SQL_DB "samp"
#define TABLENAME "users"
When I start the server with samp-server.exe it says that the connection to "samp" was failed.

Can somebody please help me?


Re: The Life of Flying (Aviation, From scratch, MySQL) - Tuntun - 27.06.2013

why getting this error when i use wamp > the lof.sql [i mean the mysql].


Re: The Life of Flying (Aviation, From scratch, MySQL) - Pizzy - 28.06.2013

You dont use wamp to import the SQL. Try a free mysql client. I use NaviCat MySQL. (It's paid though).


Re: The Life of Flying (Aviation, From scratch, MySQL) - K3 - 28.06.2013

Nice