05.07.2012, 22:25
is not from the scriptfiles ... is from the gm . it puts loading please wait and it restarts take a look and say me if is something wrong
SetPlayerColor(playerid,COLOR_GRAD2);
for(new h = PersonalCarID; h < sizeof(CarInfo); h++)
{
SetVehicleParamsForPlayer(h,playerid,0,CarInfo[h][cLock]);
}
GetPlayerName(playerid, plname, sizeof(plname));
format(string, sizeof(string), "users/%s.ini", plname);
SendClientMessage(playerid, COLOR_LIGHTBLUE, " Server Loading...");
SendClientMessage(playerid, COLOR_LIGHTBLUE, " Please Wait!!");
GameTextForPlayer(playerid, "~b~Bun~y~venit alaturi~r~de noi!", 5000, 3);
if(fexist(string))
{
gPlayerAccount[playerid] = 1;
}
else
{
gPlayerAccount[playerid] = 0;
}
Textdraw41[playerid] = TextDrawCreate(326.000000, 134.000000, " "); // speed gun points
TextDrawAlignment(Textdraw41[playerid], 2);
TextDrawBackgroundColor(Textdraw41[playerid], 255);
TextDrawFont(Textdraw41[playerid], 1);
TextDrawLetterSize(Textdraw41[playerid], 4.499998, 17.899999);
TextDrawColor(Textdraw41[playerid], -1);
TextDrawSetOutline(Textdraw41[playerid], 1);
TextDrawSetProportional(Textdraw41[playerid], 1);
TextDrawUseBox(Textdraw41[playerid], 1);
TextDrawBoxColor(Textdraw41[playerid], 100);
TextDrawTextSize(Textdraw41[playerid], 160.000000, 280.000000);
Textdraw42[playerid] = TextDrawCreate(326.000000, 192.000000, " "); // Speed gun speed string
TextDrawAlignment(Textdraw42[playerid], 2);
TextDrawBackgroundColor(Textdraw42[playerid], 255);
TextDrawFont(Textdraw42[playerid], 1);
TextDrawLetterSize(Textdraw42[playerid], 0.379999, 1.700000);
TextDrawColor(Textdraw42[playerid], -1);
TextDrawSetOutline(Textdraw42[playerid], 1);
TextDrawSetProportional(Textdraw42[playerid], 1);
TextDrawUseBox(Textdraw42[playerid], 1);
TextDrawBoxColor(Textdraw42[playerid], 255);
TextDrawTextSize(Textdraw42[playerid], 10.000000, 280.000000);
return 1;
}
SetPlayerColor(playerid,COLOR_GRAD2);
for(new h = PersonalCarID; h < sizeof(CarInfo); h++)
{
SetVehicleParamsForPlayer(h,playerid,0,CarInfo[h][cLock]);
}
GetPlayerName(playerid, plname, sizeof(plname));
format(string, sizeof(string), "users/%s.ini", plname);
SendClientMessage(playerid, COLOR_LIGHTBLUE, " Server Loading...");
SendClientMessage(playerid, COLOR_LIGHTBLUE, " Please Wait!!");
GameTextForPlayer(playerid, "~b~Bun~y~venit alaturi~r~de noi!", 5000, 3);
if(fexist(string))
{
gPlayerAccount[playerid] = 1;
}
else
{
gPlayerAccount[playerid] = 0;
}
Textdraw41[playerid] = TextDrawCreate(326.000000, 134.000000, " "); // speed gun points
TextDrawAlignment(Textdraw41[playerid], 2);
TextDrawBackgroundColor(Textdraw41[playerid], 255);
TextDrawFont(Textdraw41[playerid], 1);
TextDrawLetterSize(Textdraw41[playerid], 4.499998, 17.899999);
TextDrawColor(Textdraw41[playerid], -1);
TextDrawSetOutline(Textdraw41[playerid], 1);
TextDrawSetProportional(Textdraw41[playerid], 1);
TextDrawUseBox(Textdraw41[playerid], 1);
TextDrawBoxColor(Textdraw41[playerid], 100);
TextDrawTextSize(Textdraw41[playerid], 160.000000, 280.000000);
Textdraw42[playerid] = TextDrawCreate(326.000000, 192.000000, " "); // Speed gun speed string
TextDrawAlignment(Textdraw42[playerid], 2);
TextDrawBackgroundColor(Textdraw42[playerid], 255);
TextDrawFont(Textdraw42[playerid], 1);
TextDrawLetterSize(Textdraw42[playerid], 0.379999, 1.700000);
TextDrawColor(Textdraw42[playerid], -1);
TextDrawSetOutline(Textdraw42[playerid], 1);
TextDrawSetProportional(Textdraw42[playerid], 1);
TextDrawUseBox(Textdraw42[playerid], 1);
TextDrawBoxColor(Textdraw42[playerid], 255);
TextDrawTextSize(Textdraw42[playerid], 10.000000, 280.000000);
return 1;
}