24.05.2013, 22:23
Oh so someone was impersonating you?
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
|
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;
}
#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"