[FilterScript] Player Info System By HoussamMaroc
#1

ScreenShots



PHP Code:
//================================ [Includes] ==================================
#include          <a_samp>             //Credits to SAMP-Team
//================================= [Script] ===================================
new VehicleNames[212][] = {
{
"Landstalker"},{"Bravura"},{"Buffalo"},{"Linerunner"},{"Perrenial"},{"Sentinel"},{"Dumper"},
{
"Firetruck"},{"Trashmaster"},{"Stretch"},{"Manana"},{"Infernus"},{"Voodoo"},{"Pony"},{"Mule"},
{
"Cheetah"},{"Ambulance"},{"Leviathan"},{"Moonbeam"},{"Esperanto"},{"Taxi"},{"Washington"},
{
"Bobcat"},{"Mr Whoopee"},{"BF Injection"},{"Hunter"},{"Premier"},{"Enforcer"},{"Securicar"},
{
"Banshee"},{"Predator"},{"Bus"},{"Rhino"},{"Barracks"},{"Hotknife"},{"Trailer 1"},{"Previon"},
{
"Coach"},{"Cabbie"},{"Stallion"},{"Rumpo"},{"RC Bandit"},{"Romero"},{"Packer"},{"Monster"},
{
"Admiral"},{"Squalo"},{"Seasparrow"},{"Pizzaboy"},{"Tram"},{"Trailer 2"},{"Turismo"},
{
"Speeder"},{"Reefer"},{"Tropic"},{"Flatbed"},{"Yankee"},{"Caddy"},{"Solair"},{"Berkley's RC Van"},
{
"Skimmer"},{"PCJ-600"},{"Faggio"},{"Freeway"},{"RC Baron"},{"RC Raider"},{"Glendale"},{"Oceanic"},
{
"Sanchez"},{"Sparrow"},{"Patriot"},{"Quad"},{"Coastguard"},{"Dinghy"},{"Hermes"},{"Sabre"},
{
"Rustler"},{"ZR-350"},{"Walton"},{"Regina"},{"Comet"},{"BMX"},{"Burrito"},{"Camper"},{"Marquis"},
{
"Baggage"},{"Dozer"},{"Maverick"},{"News Chopper"},{"Rancher"},{"FBI Rancher"},{"Virgo"},{"Greenwood"},
{
"Jetmax"},{"Hotring"},{"Sandking"},{"Blista Compact"},{"Police Maverick"},{"Boxville"},{"Benson"},
{
"Mesa"},{"RC Goblin"},{"Hotring Racer A"},{"Hotring Racer B"},{"Bloodring Banger"},{"Rancher"},
{
"Super GT"},{"Elegant"},{"Journey"},{"Bike"},{"Mountain Bike"},{"Beagle"},{"Cropdust"},{"Stunt"},
{
"Tanker"}, {"Roadtrain"},{"Nebula"},{"Majestic"},{"Buccaneer"},{"Shamal"},{"Hydra"},{"FCR-900"},
{
"NRG-500"},{"HPV1000"},{"Cement Truck"},{"Tow Truck"},{"Fortune"},{"Cadrona"},{"FBI Truck"},
{
"Willard"},{"Forklift"},{"Tractor"},{"Combine"},{"Feltzer"},{"Remington"},{"Slamvan"},
{
"Blade"},{"Freight"},{"Streak"},{"Vortex"},{"Vincent"},{"Bullet"},{"Clover"},{"Sadler"},
{
"Firetruck LA"},{"Hustler"},{"Intruder"},{"Primo"},{"Cargobob"},{"Tampa"},{"Sunrise"},{"Merit"},
{
"Utility"},{"Nevada"},{"Yosemite"},{"Windsor"},{"Monster A"},{"Monster B"},{"Uranus"},{"Jester"},
{
"Sultan"},{"Stratum"},{"Elegy"},{"Raindance"},{"RC Tiger"},{"Flash"},{"Tahoma"},{"Savanna"},
{
"Bandito"},{"Freight Flat"},{"Streak Carriage"},{"Kart"},{"Mower"},{"Duneride"},{"Sweeper"},
{
"Broadway"},{"Tornado"},{"AT-400"},{"DFT-30"},{"Huntley"},{"Stafford"},{"BF-400"},{"Newsvan"},
{
"Tug"},{"Trailer 3"},{"Emperor"},{"Wayfarer"},{"Euros"},{"Hotdog"},{"Club"},{"Freight Carriage"},
{
"Trailer 3"},{"Andromada"},{"Dodo"},{"RC Cam"},{"Launch"},{"Police Car (LSPD)"},{"Police Car (SFPD)"},
{
"Police Car (LVPD)"},{"Police Ranger"},{"Picador"},{"S.W.A.T. Van"},{"Alpha"},{"Phoenix"},{"Glendale"},
{
"Sadler"},{"Luggage Trailer A"},{"Luggage Trailer B"},{"Stair Trailer"},{"Boxville"},{"Farm Plow"},
{
"Utility Trailer"}
};
enum TimePlayed
{
    
hours,
    
mins,
    
secs,
    
TotalTime,
    
ConnectTime
};
new 
PlayerText:InfoTD[42][MAX_PLAYERS];
new 
PlayerTimePlayed[MAX_PLAYERS][TimePlayed];
//------------------------------------------------------------------------------
//Forwards
forward AutoPlayerUpdate(playerid);
//CallBacks & Functions
public OnFilterScriptInit()
{
    print(
"--------------------------------");
    print(
"| Player Stats by HoussamMaroc |");
    print(
"|             Loaded           |");
    print(
"--------------------------------");
    return 
1;
}
//------------------------------------------------------------------------------
public OnFilterScriptExit()
{
    print(
"---------------------------------");
    print(
"| Player Stats by HoussamMaroc |");
    print(
"|            Unloaded          |");
    print(
"---------------------------------");
    return 
1;
}
//------------------------------------------------------------------------------
public OnPlayerConnect(playerid)
{
    
CreatePlayerInfo(playerid);
    
PlayerTimePlayed[playerid][ConnectTime] = gettime();
    return 
1;
}
//------------------------------------------------------------------------------
public OnPlayerSpawn(playerid)
{
    
ShowPlayerInfo(playerid);
    
ShowInfoBar(playerid);
    
SetTimerEx("AutoPlayerUpdate"60true,"i"playerid);
    return 
1;
}
//------------------------------------------------------------------------------
public OnPlayerDisconnect(playeridreason)
{
    
DestroyAllTextDraws(playerid);
    
DestroyPlayerInfo(playerid);
    
HideInfo(playerid);
    return 
1;
}
//------------------------------------------------------------------------------
public AutoPlayerUpdate(playerid)
{
    
/* ** *** Part 1 *** ** */
    
    
new PScore,ip[50],cash,ipa[50],money[50],score[50];
    
PScore GetPlayerScore(playerid);
    
GetPlayerIp(playeridipsizeof(ip));
    
cash GetPlayerMoney(playerid);
     
format(ipasizeof(ipa), "Ip Adress: %s"ip);
      
format(moneysizeof(money), "Money: %d"cash);
       
format(scoresizeof(score), "Score: %d"PScore);
       
PlayerTextDrawSetString(playeridInfoTD[18][playerid], ipa);
    
PlayerTextDrawSetString(playeridInfoTD[19][playerid], money);
     
PlayerTextDrawSetString(playeridInfoTD[20][playerid], score);
    new 
Float:HPHPstr[50];
    
GetPlayerHealth(playeridHP);
    
format(HPstrsizeof(HPstr), "Health: %.0f%%"HP);
    
PlayerTextDrawSetString(playeridInfoTD[8][playerid], HPstr);
    new 
Float:APAPstr[50];
    
GetPlayerArmour(playeridAP);
    
format(APstrsizeof(APstr), "Armour: %.0f%%"AP);
    
PlayerTextDrawSetString(playeridInfoTD[9][playerid], APstr);
    new 
WeapWeapN[50], Wstr[100];
    
Weap GetPlayerWeapon(playerid);
    if(
Weap != 0)
    {
        
GetWeaponName(WeapWeapNsizeof(WeapN));
        
format(Wstrsizeof(Wstr), "Weapon: %d/%s"WeapWeapN);
        
PlayerTextDrawSetString(playeridInfoTD[10][playerid], Wstr);
    }
    if(
Weap == 0PlayerTextDrawSetString(playeridInfoTD[10][playerid], "Weapon: 0/Fist");
    new 
SKstr[50];
    
format(SKstrsizeof(SKstr), "Skin: %d"GetPlayerSkin(playerid));
    
PlayerTextDrawSetString(playeridInfoTD[11][playerid], SKstr);
    
/* ** *** Part 2 *** ** */
    
new Float:XFloat:YFloat:ZFloat:An;
    new 
Xstr[50], Ystr[50], Zstr[50], Anstr[50];
    
GetPlayerPos(playeridXYZ);
    
GetPlayerFacingAngle(playeridAn);
    
format(Xstrsizeof(Xstr), "Position X: %.3f"X);
    
format(Ystrsizeof(Ystr), "Position Y: %.3f"Y);
    
format(Zstrsizeof(Zstr), "Position Z: %.3f"Z);
    
format(Anstrsizeof(Anstr), "Facing Angle: %.3f"An);
    
PlayerTextDrawSetString(playeridInfoTD[13][playerid], Xstr);
    
PlayerTextDrawSetString(playeridInfoTD[14][playerid], Ystr);
    
PlayerTextDrawSetString(playeridInfoTD[15][playerid], Zstr);
    
PlayerTextDrawSetString(playeridInfoTD[16][playerid], Anstr);
     
    
/* ** *** Part 3 *** ** */
    
new SAstr[50];
    
format(SAstrsizeof(SAstr), "Special Action: %d"GetPlayerSpecialAction(playerid));
    
PlayerTextDrawSetString(playeridInfoTD[21][playerid], SAstr);
    
/* ** *** Part 4 *** ** */
    
new Name[MAX_PLAYER_NAME], Nstr[50];
    
GetPlayerName(playeridNamesizeof(Name));
    
format(Nstrsizeof(Nstr), "Name: %s"Name);
    
PlayerTextDrawSetString(playeridInfoTD[23][playerid], Nstr);
    new 
IDstr[50];
    
format(IDstrsizeof(IDstr), "ID: %d"playerid);
    
PlayerTextDrawSetString(playeridInfoTD[24][playerid], IDstr);
     new 
Pstr[144],hms;
    
TotalGameTime(playeridhms);
    
format(Pstrsizeof(Pstr), "Time Played: %dh %dm %ds",h,m,s);
    
PlayerTextDrawSetString(playeridInfoTD[25][playerid], Pstr);
    
/* ** *** Part 5 *** ** */
    
new YearMonthDayDTstr[50];
    
getdate(YearMonthDay);
    
format(DTstrsizeof(DTstr), "Date: %02d/%02d/%02d"DayMonthYear);
    
PlayerTextDrawSetString(playeridInfoTD[27][playerid], DTstr);
    new 
HourMinuteSecondTMstr[50];
    
gettime(HourMinuteSecond);
    
format(TMstrsizeof(TMstr), "Time: %02d:%02d:%02d"HourMinuteSecond);
    
PlayerTextDrawSetString(playeridInfoTD[28][playerid], TMstr);
    
/* ** *** Part 6 *** ** */
    
new VWstr[50];
    
format(VWstrsizeof(VWstr), "Virtual World: %d"GetPlayerVirtualWorld(playerid));
    
PlayerTextDrawSetString(playeridInfoTD[30][playerid], VWstr);
    new 
Istr[50];
    
format(Istrsizeof(Istr), "Interior: %d"GetPlayerInterior(playerid));
    
PlayerTextDrawSetString(playeridInfoTD[31][playerid], Istr);
    
/* ** *** Part 7 *** ** */
    
if(IsPlayerInAnyVehicle(playerid))
    {
        new 
vIDvModFloat:vHPvIDstr[50], vModstr[50], vHPstr[50];
        
vID GetPlayerVehicleID(playerid);
        
vMod GetVehicleModel(vID);
           
GetVehicleHealth(vIDvHP);
           
format(vIDstrsizeof(vIDstr), "Vehicle Name: %s"VehicleNames[GetVehicleModel(vID)-400]);
           
format(vModstrsizeof(vModstr), "Vehicle Model: %d"vMod);
           
format(vHPstrsizeof(vHPstr), "Vehicle Health: %.2f"vHP);
        
PlayerTextDrawSetString(playeridInfoTD[33][playerid], vIDstr);
        
PlayerTextDrawSetString(playeridInfoTD[34][playerid], vModstr);
        
PlayerTextDrawSetString(playeridInfoTD[35][playerid], vHPstr);
    }
    else
    {
        
PlayerTextDrawSetString(playeridInfoTD[33][playerid], "Vehicle Name: None");
        
PlayerTextDrawSetString(playeridInfoTD[34][playerid], "Vehicle Model: None");
        
PlayerTextDrawSetString(playeridInfoTD[35][playerid], "Vehicle Health: None");
    }
    return 
1;
}
//================================= [Stocks] ===================================
stock ShowInfoBar(playerid)
{
    
PlayerTextDrawShow(playeridInfoTD[1][playerid]);
    
PlayerTextDrawShow(playeridInfoTD[2][playerid]);
    return 
1;
}
//------------------------------------------------------------------------------
stock HideStatsBar(playerid)
{
    
PlayerTextDrawHide(playeridInfoTD[1][playerid]);
    
PlayerTextDrawHide(playeridInfoTD[2][playerid]);
    return 
1;
}
//------------------------------------------------------------------------------
stock CreatePlayerInfo(playerid)
{
    
InfoTD[1][playerid] = CreatePlayerTextDraw(playerid310.000000429.000000"Info system by HoussamMaroc");
    
PlayerTextDrawAlignment(playeridInfoTD[1][playerid], 2);
    
PlayerTextDrawBackgroundColor(playeridInfoTD[1][playerid], 255);
    
PlayerTextDrawFont(playeridInfoTD[1][playerid], 0);
    
PlayerTextDrawLetterSize(playeridInfoTD[1][playerid], 0.5000001.799999);
    
PlayerTextDrawColor(playeridInfoTD[1][playerid], -1526726401);
    
PlayerTextDrawSetOutline(playeridInfoTD[1][playerid], 1);
    
PlayerTextDrawSetProportional(playeridInfoTD[1][playerid], 1);
    
PlayerTextDrawUseBox(playeridInfoTD[1][playerid], 1);
    
PlayerTextDrawBoxColor(playeridInfoTD[1][playerid], 16843158);
    
PlayerTextDrawTextSize(playeridInfoTD[1][playerid], 0.0000001050.000000);
    
InfoTD[2][playerid] = CreatePlayerTextDraw(playerid303.000000429.000000"_");
    
PlayerTextDrawAlignment(playeridInfoTD[2][playerid], 2);
    
PlayerTextDrawBackgroundColor(playeridInfoTD[2][playerid], 255);
    
PlayerTextDrawFont(playeridInfoTD[2][playerid], 0);
    
PlayerTextDrawLetterSize(playeridInfoTD[2][playerid], 0.500000, -0.500000);
    
PlayerTextDrawColor(playeridInfoTD[2][playerid], -939523841);
    
PlayerTextDrawSetOutline(playeridInfoTD[2][playerid], 1);
    
PlayerTextDrawSetProportional(playeridInfoTD[2][playerid], 1);
    
PlayerTextDrawUseBox(playeridInfoTD[2][playerid], 1);
    
PlayerTextDrawBoxColor(playeridInfoTD[2][playerid], 255);
    
PlayerTextDrawTextSize(playeridInfoTD[2][playerid], 0.0000001050.000000);
    
InfoTD[3][playerid] = CreatePlayerTextDraw(playerid637.000000105.000000"_");
    
PlayerTextDrawAlignment(playeridInfoTD[3][playerid], 2);
    
PlayerTextDrawBackgroundColor(playeridInfoTD[3][playerid], 255);
    
PlayerTextDrawFont(playeridInfoTD[3][playerid], 1);
    
PlayerTextDrawLetterSize(playeridInfoTD[3][playerid], 0.50000035.299999);
    
PlayerTextDrawColor(playeridInfoTD[3][playerid], -1);
    
PlayerTextDrawSetOutline(playeridInfoTD[3][playerid], 0);
    
PlayerTextDrawSetProportional(playeridInfoTD[3][playerid], 1);
    
PlayerTextDrawSetShadow(playeridInfoTD[3][playerid], 1);
    
PlayerTextDrawUseBox(playeridInfoTD[3][playerid], 1);
    
PlayerTextDrawBoxColor(playeridInfoTD[3][playerid], 16843158);
    
PlayerTextDrawTextSize(playeridInfoTD[3][playerid], 3.000000289.000000);
    
InfoTD[4][playerid] = CreatePlayerTextDraw(playerid1018.000000104.000000"_");
    
PlayerTextDrawAlignment(playeridInfoTD[4][playerid], 2);
    
PlayerTextDrawBackgroundColor(playeridInfoTD[4][playerid], 255);
    
PlayerTextDrawFont(playeridInfoTD[4][playerid], 0);
    
PlayerTextDrawLetterSize(playeridInfoTD[4][playerid], 0.500000, -0.500000);
    
PlayerTextDrawColor(playeridInfoTD[4][playerid], -939523841);
    
PlayerTextDrawSetOutline(playeridInfoTD[4][playerid], 1);
    
PlayerTextDrawSetProportional(playeridInfoTD[4][playerid], 1);
    
PlayerTextDrawUseBox(playeridInfoTD[4][playerid], 1);
    
PlayerTextDrawBoxColor(playeridInfoTD[4][playerid], 255);
    
PlayerTextDrawTextSize(playeridInfoTD[4][playerid], 0.0000001050.000000);
    
InfoTD[5][playerid] = CreatePlayerTextDraw(playerid490.000000104.000000"_");
    
PlayerTextDrawAlignment(playeridInfoTD[5][playerid], 2);
    
PlayerTextDrawBackgroundColor(playeridInfoTD[5][playerid], 255);
    
PlayerTextDrawFont(playeridInfoTD[5][playerid], 0);
    
PlayerTextDrawLetterSize(playeridInfoTD[5][playerid], 0.50000035.499977);
    
PlayerTextDrawColor(playeridInfoTD[5][playerid], -939523841);
    
PlayerTextDrawSetOutline(playeridInfoTD[5][playerid], 1);
    
PlayerTextDrawSetProportional(playeridInfoTD[5][playerid], 1);
    
PlayerTextDrawUseBox(playeridInfoTD[5][playerid], 1);
    
PlayerTextDrawBoxColor(playeridInfoTD[5][playerid], 255);
    
PlayerTextDrawTextSize(playeridInfoTD[5][playerid], -39.000000, -5.000000);
    
InfoTD[6][playerid] = CreatePlayerTextDraw(playerid567.000000104.000000"Your Info");
    
PlayerTextDrawAlignment(playeridInfoTD[6][playerid], 2);
    
PlayerTextDrawBackgroundColor(playeridInfoTD[6][playerid], 255);
    
PlayerTextDrawFont(playeridInfoTD[6][playerid], 2);
    
PlayerTextDrawLetterSize(playeridInfoTD[6][playerid], 0.5000001.799999);
    
PlayerTextDrawColor(playeridInfoTD[6][playerid], -1526726401);
    
PlayerTextDrawSetOutline(playeridInfoTD[6][playerid], 1);
    
PlayerTextDrawSetProportional(playeridInfoTD[6][playerid], 1);
    
InfoTD[7][playerid] = CreatePlayerTextDraw(playerid1019.000000126.000000"_");
    
PlayerTextDrawAlignment(playeridInfoTD[7][playerid], 2);
    
PlayerTextDrawBackgroundColor(playeridInfoTD[7][playerid], 255);
    
PlayerTextDrawFont(playeridInfoTD[7][playerid], 0);
    
PlayerTextDrawLetterSize(playeridInfoTD[7][playerid], 0.500000, -0.500000);
    
PlayerTextDrawColor(playeridInfoTD[7][playerid], -939523841);
    
PlayerTextDrawSetOutline(playeridInfoTD[7][playerid], 1);
    
PlayerTextDrawSetProportional(playeridInfoTD[7][playerid], 1);
    
PlayerTextDrawUseBox(playeridInfoTD[7][playerid], 1);
    
PlayerTextDrawBoxColor(playeridInfoTD[7][playerid], 255);
    
PlayerTextDrawTextSize(playeridInfoTD[7][playerid], 0.0000001050.000000);
    
InfoTD[12][playerid] = CreatePlayerTextDraw(playerid1018.000000179.000000"_");
    
PlayerTextDrawAlignment(playeridInfoTD[12][playerid], 2);
    
PlayerTextDrawBackgroundColor(playeridInfoTD[12][playerid], 255);
    
PlayerTextDrawFont(playeridInfoTD[12][playerid], 0);
    
PlayerTextDrawLetterSize(playeridInfoTD[12][playerid], 0.500000, -0.500000);
    
PlayerTextDrawColor(playeridInfoTD[12][playerid], -939523841);
    
PlayerTextDrawSetOutline(playeridInfoTD[12][playerid], 1);
    
PlayerTextDrawSetProportional(playeridInfoTD[12][playerid], 1);
    
PlayerTextDrawUseBox(playeridInfoTD[12][playerid], 1);
    
PlayerTextDrawBoxColor(playeridInfoTD[12][playerid], 255);
    
PlayerTextDrawTextSize(playeridInfoTD[12][playerid], 0.0000001050.000000);
    
InfoTD[17][playerid] = CreatePlayerTextDraw(playerid1018.000000231.000000"_");
    
PlayerTextDrawAlignment(playeridInfoTD[17][playerid], 2);
    
PlayerTextDrawBackgroundColor(playeridInfoTD[17][playerid], 255);
    
PlayerTextDrawFont(playeridInfoTD[17][playerid], 0);
    
PlayerTextDrawLetterSize(playeridInfoTD[17][playerid], 0.500000, -0.500000);
    
PlayerTextDrawColor(playeridInfoTD[17][playerid], -939523841);
    
PlayerTextDrawSetOutline(playeridInfoTD[17][playerid], 1);
    
PlayerTextDrawSetProportional(playeridInfoTD[17][playerid], 1);
    
PlayerTextDrawUseBox(playeridInfoTD[17][playerid], 1);
    
PlayerTextDrawBoxColor(playeridInfoTD[17][playerid], 255);
    
PlayerTextDrawTextSize(playeridInfoTD[17][playerid], 0.0000001050.000000);
    
InfoTD[22][playerid] = CreatePlayerTextDraw(playerid1018.000000286.000000"_");
    
PlayerTextDrawAlignment(playeridInfoTD[22][playerid], 2);
    
PlayerTextDrawBackgroundColor(playeridInfoTD[22][playerid], 255);
    
PlayerTextDrawFont(playeridInfoTD[22][playerid], 0);
    
PlayerTextDrawLetterSize(playeridInfoTD[22][playerid], 0.500000, -0.500000);
    
PlayerTextDrawColor(playeridInfoTD[22][playerid], -939523841);
    
PlayerTextDrawSetOutline(playeridInfoTD[22][playerid], 1);
    
PlayerTextDrawSetProportional(playeridInfoTD[22][playerid], 1);
    
PlayerTextDrawUseBox(playeridInfoTD[22][playerid], 1);
    
PlayerTextDrawBoxColor(playeridInfoTD[22][playerid], 255);
    
PlayerTextDrawTextSize(playeridInfoTD[22][playerid], 0.0000001050.000000);
    
InfoTD[26][playerid] = CreatePlayerTextDraw(playerid1018.000000331.000000"_");
    
PlayerTextDrawAlignment(playeridInfoTD[26][playerid], 2);
    
PlayerTextDrawBackgroundColor(playeridInfoTD[26][playerid], 255);
    
PlayerTextDrawFont(playeridInfoTD[26][playerid], 0);
    
PlayerTextDrawLetterSize(playeridInfoTD[26][playerid], 0.500000, -0.500000);
    
PlayerTextDrawColor(playeridInfoTD[26][playerid], -939523841);
    
PlayerTextDrawSetOutline(playeridInfoTD[26][playerid], 1);
    
PlayerTextDrawSetProportional(playeridInfoTD[26][playerid], 1);
    
PlayerTextDrawUseBox(playeridInfoTD[26][playerid], 1);
    
PlayerTextDrawBoxColor(playeridInfoTD[26][playerid], 255);
    
PlayerTextDrawTextSize(playeridInfoTD[26][playerid], 0.0000001050.000000);
    
InfoTD[29][playerid] = CreatePlayerTextDraw(playerid1018.000000361.000000"_");
    
PlayerTextDrawAlignment(playeridInfoTD[29][playerid], 2);
    
PlayerTextDrawBackgroundColor(playeridInfoTD[29][playerid], 255);
    
PlayerTextDrawFont(playeridInfoTD[29][playerid], 0);
    
PlayerTextDrawLetterSize(playeridInfoTD[29][playerid], 0.500000, -0.500000);
    
PlayerTextDrawColor(playeridInfoTD[29][playerid], -939523841);
    
PlayerTextDrawSetOutline(playeridInfoTD[29][playerid], 1);
    
PlayerTextDrawSetProportional(playeridInfoTD[29][playerid], 1);
    
PlayerTextDrawUseBox(playeridInfoTD[29][playerid], 1);
    
PlayerTextDrawBoxColor(playeridInfoTD[29][playerid], 255);
    
PlayerTextDrawTextSize(playeridInfoTD[29][playerid], 0.0000001050.000000);
    
InfoTD[32][playerid] = CreatePlayerTextDraw(playerid1018.000000390.000000"_");
    
PlayerTextDrawAlignment(playeridInfoTD[32][playerid], 2);
    
PlayerTextDrawBackgroundColor(playeridInfoTD[32][playerid], 255);
    
PlayerTextDrawFont(playeridInfoTD[32][playerid], 0);
    
PlayerTextDrawLetterSize(playeridInfoTD[32][playerid], 0.500000, -0.500000);
    
PlayerTextDrawColor(playeridInfoTD[32][playerid], -939523841);
    
PlayerTextDrawSetOutline(playeridInfoTD[32][playerid], 1);
    
PlayerTextDrawSetProportional(playeridInfoTD[32][playerid], 1);
    
PlayerTextDrawUseBox(playeridInfoTD[32][playerid], 1);
    
PlayerTextDrawBoxColor(playeridInfoTD[32][playerid], 255);
    
PlayerTextDrawTextSize(playeridInfoTD[32][playerid], 0.0000001050.000000);
    
InfoTD[36][playerid] = CreatePlayerTextDraw(playerid489.604675425.250000"LD_SPAC:white");
    
PlayerTextDrawLetterSize(playeridInfoTD[36][playerid], 0.0000000.000000);
    
PlayerTextDrawTextSize(playeridInfoTD[36][playerid], 150.3953091.750020);
    
PlayerTextDrawAlignment(playeridInfoTD[36][playerid], 1);
    
PlayerTextDrawColor(playeridInfoTD[36][playerid], 255);
    
PlayerTextDrawSetShadow(playeridInfoTD[36][playerid], 0);
    
PlayerTextDrawSetOutline(playeridInfoTD[36][playerid], 0);
    
PlayerTextDrawFont(playeridInfoTD[36][playerid], 4);
    
InfoTD[37][playerid] = CreatePlayerTextDraw(playerid490.541717329.000000"LD_SPAC:white");
    
PlayerTextDrawLetterSize(playeridInfoTD[37][playerid], 0.0000000.000000);
    
PlayerTextDrawTextSize(playeridInfoTD[37][playerid], 149.458282, -0.583312);
    
PlayerTextDrawAlignment(playeridInfoTD[37][playerid], 1);
    
PlayerTextDrawColor(playeridInfoTD[37][playerid], 255);
    
PlayerTextDrawSetShadow(playeridInfoTD[37][playerid], 0);
    
PlayerTextDrawSetOutline(playeridInfoTD[37][playerid], 0);
    
PlayerTextDrawFont(playeridInfoTD[37][playerid], 4);
    
InfoTD[38][playerid] = CreatePlayerTextDraw(playerid491.073211284.500213"LD_SPAC:white");
    
PlayerTextDrawLetterSize(playeridInfoTD[38][playerid], 0.0000000.000000);
    
PlayerTextDrawTextSize(playeridInfoTD[38][playerid], 149.458282, -0.583312);
    
PlayerTextDrawAlignment(playeridInfoTD[38][playerid], 1);
    
PlayerTextDrawColor(playeridInfoTD[38][playerid], 255);
    
PlayerTextDrawSetShadow(playeridInfoTD[38][playerid], 0);
    
PlayerTextDrawSetOutline(playeridInfoTD[38][playerid], 0);
    
PlayerTextDrawFont(playeridInfoTD[38][playerid], 4);
    
InfoTD[39][playerid] = CreatePlayerTextDraw(playerid490.667663388.166748"LD_SPAC:white");
    
PlayerTextDrawLetterSize(playeridInfoTD[39][playerid], 0.0000000.000000);
    
PlayerTextDrawTextSize(playeridInfoTD[39][playerid], 149.458282, -0.583312);
    
PlayerTextDrawAlignment(playeridInfoTD[39][playerid], 1);
    
PlayerTextDrawColor(playeridInfoTD[39][playerid], 255);
    
PlayerTextDrawSetShadow(playeridInfoTD[39][playerid], 0);
    
PlayerTextDrawSetOutline(playeridInfoTD[39][playerid], 0);
    
PlayerTextDrawFont(playeridInfoTD[39][playerid], 4);
    
InfoTD[40][playerid] = CreatePlayerTextDraw(playerid, -0.874101425.083404"LD_SPAC:white");
    
PlayerTextDrawLetterSize(playeridInfoTD[40][playerid], 0.0000000.000000);
    
PlayerTextDrawTextSize(playeridInfoTD[40][playerid], 491.0110161.750021);
    
PlayerTextDrawAlignment(playeridInfoTD[40][playerid], 1);
    
PlayerTextDrawColor(playeridInfoTD[40][playerid], 255);
    
PlayerTextDrawSetShadow(playeridInfoTD[40][playerid], 0);
    
PlayerTextDrawSetOutline(playeridInfoTD[40][playerid], 0);
    
PlayerTextDrawFont(playeridInfoTD[40][playerid], 4);
    
InfoTD[41][playerid] = CreatePlayerTextDraw(playerid489.198913101.916679"LD_SPAC:white");
    
PlayerTextDrawLetterSize(playeridInfoTD[41][playerid], 0.0000000.000000);
    
PlayerTextDrawTextSize(playeridInfoTD[41][playerid], 150.3953091.750020);
    
PlayerTextDrawAlignment(playeridInfoTD[41][playerid], 1);
    
PlayerTextDrawColor(playeridInfoTD[41][playerid], 255);
    
PlayerTextDrawSetShadow(playeridInfoTD[41][playerid], 0);
    
PlayerTextDrawSetOutline(playeridInfoTD[41][playerid], 0);
    
PlayerTextDrawFont(playeridInfoTD[41][playerid], 4);
    
InfoTD[8][playerid] = CreatePlayerTextDraw(playerid494.000000127.000000"Health: 100%");
    
PlayerTextDrawBackgroundColor(playeridInfoTD[8][playerid], 255);
    
PlayerTextDrawFont(playeridInfoTD[8][playerid], 1);
    
PlayerTextDrawLetterSize(playeridInfoTD[8][playerid], 0.2800001.099999);
    
PlayerTextDrawColor(playeridInfoTD[8][playerid], -4652801);
    
PlayerTextDrawSetOutline(playeridInfoTD[8][playerid], 1);
    
PlayerTextDrawSetProportional(playeridInfoTD[8][playerid], 1);
    
InfoTD[9][playerid] = CreatePlayerTextDraw(playerid494.000000138.000000"Armour: 100%");
    
PlayerTextDrawBackgroundColor(playeridInfoTD[9][playerid], 255);
    
PlayerTextDrawFont(playeridInfoTD[9][playerid], 1);
    
PlayerTextDrawLetterSize(playeridInfoTD[9][playerid], 0.2800001.099999);
    
PlayerTextDrawColor(playeridInfoTD[9][playerid], -4652801);
    
PlayerTextDrawSetOutline(playeridInfoTD[9][playerid], 1);
    
PlayerTextDrawSetProportional(playeridInfoTD[9][playerid], 1);
    
InfoTD[10][playerid] = CreatePlayerTextDraw(playerid494.000000150.000000"Weapon: 39/Stachel Charge");
    
PlayerTextDrawBackgroundColor(playeridInfoTD[10][playerid], 255);
    
PlayerTextDrawFont(playeridInfoTD[10][playerid], 1);
    
PlayerTextDrawLetterSize(playeridInfoTD[10][playerid], 0.2800001.099999);
    
PlayerTextDrawColor(playeridInfoTD[10][playerid], -4652801);
    
PlayerTextDrawSetOutline(playeridInfoTD[10][playerid], 1);
    
PlayerTextDrawSetProportional(playeridInfoTD[10][playerid], 1);
    
InfoTD[11][playerid] = CreatePlayerTextDraw(playerid494.000000162.000000"Skin: 0");
    
PlayerTextDrawBackgroundColor(playeridInfoTD[11][playerid], 255);
    
PlayerTextDrawFont(playeridInfoTD[11][playerid], 1);
    
PlayerTextDrawLetterSize(playeridInfoTD[11][playerid], 0.2800001.099999);
    
PlayerTextDrawColor(playeridInfoTD[11][playerid], -4652801);
    
PlayerTextDrawSetOutline(playeridInfoTD[11][playerid], 1);
    
PlayerTextDrawSetProportional(playeridInfoTD[11][playerid], 1);
    
InfoTD[13][playerid] = CreatePlayerTextDraw(playerid495.000000179.000000"Position X: 00.000");
    
PlayerTextDrawBackgroundColor(playeridInfoTD[13][playerid], 255);
    
PlayerTextDrawFont(playeridInfoTD[13][playerid], 1);
    
PlayerTextDrawLetterSize(playeridInfoTD[13][playerid], 0.2800001.099999);
    
PlayerTextDrawColor(playeridInfoTD[13][playerid], 1270415615);
    
PlayerTextDrawSetOutline(playeridInfoTD[13][playerid], 1);
    
PlayerTextDrawSetProportional(playeridInfoTD[13][playerid], 1);
    
InfoTD[14][playerid] = CreatePlayerTextDraw(playerid495.000000191.000000"Position Y: 00.000");
    
PlayerTextDrawBackgroundColor(playeridInfoTD[14][playerid], 255);
    
PlayerTextDrawFont(playeridInfoTD[14][playerid], 1);
    
PlayerTextDrawLetterSize(playeridInfoTD[14][playerid], 0.2800001.099999);
    
PlayerTextDrawColor(playeridInfoTD[14][playerid], 1270415615);
    
PlayerTextDrawSetOutline(playeridInfoTD[14][playerid], 1);
    
PlayerTextDrawSetProportional(playeridInfoTD[14][playerid], 1);
    
InfoTD[15][playerid] = CreatePlayerTextDraw(playerid495.000000202.000000"Position Z: 00.000");
    
PlayerTextDrawBackgroundColor(playeridInfoTD[15][playerid], 255);
    
PlayerTextDrawFont(playeridInfoTD[15][playerid], 1);
    
PlayerTextDrawLetterSize(playeridInfoTD[15][playerid], 0.2800001.099999);
    
PlayerTextDrawColor(playeridInfoTD[15][playerid], 1270415615);
    
PlayerTextDrawSetOutline(playeridInfoTD[15][playerid], 1);
    
PlayerTextDrawSetProportional(playeridInfoTD[15][playerid], 1);
    
InfoTD[16][playerid] = CreatePlayerTextDraw(playerid494.000000214.000000"Facing Angle: 00.000");
    
PlayerTextDrawBackgroundColor(playeridInfoTD[16][playerid], 255);
    
PlayerTextDrawFont(playeridInfoTD[16][playerid], 1);
    
PlayerTextDrawLetterSize(playeridInfoTD[16][playerid], 0.2800001.099999);
    
PlayerTextDrawColor(playeridInfoTD[16][playerid], 1270415615);
    
PlayerTextDrawSetOutline(playeridInfoTD[16][playerid], 1);
    
PlayerTextDrawSetProportional(playeridInfoTD[16][playerid], 1);
    
InfoTD[18][playerid] = CreatePlayerTextDraw(playerid493.000000232.000000"Ip Adress: 127.0.0.1");
    
PlayerTextDrawBackgroundColor(playeridInfoTD[18][playerid], 255);
    
PlayerTextDrawFont(playeridInfoTD[18][playerid], 1);
    
PlayerTextDrawLetterSize(playeridInfoTD[18][playerid], 0.2800001.099999);
    
PlayerTextDrawColor(playeridInfoTD[18][playerid], -12189441);
    
PlayerTextDrawSetOutline(playeridInfoTD[18][playerid], 1);
    
PlayerTextDrawSetProportional(playeridInfoTD[18][playerid], 1);
    
InfoTD[19][playerid] = CreatePlayerTextDraw(playerid493.000000244.000000"Money: 0");
    
PlayerTextDrawBackgroundColor(playeridInfoTD[19][playerid], 255);
    
PlayerTextDrawFont(playeridInfoTD[19][playerid], 1);
    
PlayerTextDrawLetterSize(playeridInfoTD[19][playerid], 0.2800001.099999);
    
PlayerTextDrawColor(playeridInfoTD[19][playerid], -12189441);
    
PlayerTextDrawSetOutline(playeridInfoTD[19][playerid], 1);
    
PlayerTextDrawSetProportional(playeridInfoTD[19][playerid], 1);
    
InfoTD[20][playerid] = CreatePlayerTextDraw(playerid493.000000256.000000"Score: 0");
    
PlayerTextDrawBackgroundColor(playeridInfoTD[20][playerid], 255);
    
PlayerTextDrawFont(playeridInfoTD[20][playerid], 1);
    
PlayerTextDrawLetterSize(playeridInfoTD[20][playerid], 0.2800001.099999);
    
PlayerTextDrawColor(playeridInfoTD[20][playerid], -12189441);
    
PlayerTextDrawSetOutline(playeridInfoTD[20][playerid], 1);
    
PlayerTextDrawSetProportional(playeridInfoTD[20][playerid], 1);
    
InfoTD[21][playerid] = CreatePlayerTextDraw(playerid493.000000268.000000"Special Action: 0");
    
PlayerTextDrawBackgroundColor(playeridInfoTD[21][playerid], 255);
    
PlayerTextDrawFont(playeridInfoTD[21][playerid], 1);
    
PlayerTextDrawLetterSize(playeridInfoTD[21][playerid], 0.2800001.099999);
    
PlayerTextDrawColor(playeridInfoTD[21][playerid], -12189441);
    
PlayerTextDrawSetOutline(playeridInfoTD[21][playerid], 1);
    
PlayerTextDrawSetProportional(playeridInfoTD[21][playerid], 1);
    
InfoTD[23][playerid] = CreatePlayerTextDraw(playerid494.000000288.000000"Name: HoussamMaroc");
    
PlayerTextDrawBackgroundColor(playeridInfoTD[23][playerid], 255);
    
PlayerTextDrawFont(playeridInfoTD[23][playerid], 1);
    
PlayerTextDrawLetterSize(playeridInfoTD[23][playerid], 0.2800001.099999);
    
PlayerTextDrawColor(playeridInfoTD[23][playerid], 8912895);
    
PlayerTextDrawSetOutline(playeridInfoTD[23][playerid], 1);
    
PlayerTextDrawSetProportional(playeridInfoTD[23][playerid], 1);
    
InfoTD[24][playerid] = CreatePlayerTextDraw(playerid494.000000300.000000"ID: 0");
    
PlayerTextDrawBackgroundColor(playeridInfoTD[24][playerid], 255);
    
PlayerTextDrawFont(playeridInfoTD[24][playerid], 1);
    
PlayerTextDrawLetterSize(playeridInfoTD[24][playerid], 0.2800001.099999);
    
PlayerTextDrawColor(playeridInfoTD[24][playerid], 8912895);
    
PlayerTextDrawSetOutline(playeridInfoTD[24][playerid], 1);
    
PlayerTextDrawSetProportional(playeridInfoTD[24][playerid], 1);
    
InfoTD[25][playerid] = CreatePlayerTextDraw(playerid494.000000313.000000"TimePlayed: 0h 0m 0s");
    
PlayerTextDrawBackgroundColor(playeridInfoTD[25][playerid], 255);
    
PlayerTextDrawFont(playeridInfoTD[25][playerid], 1);
    
PlayerTextDrawLetterSize(playeridInfoTD[25][playerid], 0.2800001.099999);
    
PlayerTextDrawColor(playeridInfoTD[25][playerid], 8912895);
    
PlayerTextDrawSetOutline(playeridInfoTD[25][playerid], 1);
    
PlayerTextDrawSetProportional(playeridInfoTD[25][playerid], 1);
    
InfoTD[27][playerid] = CreatePlayerTextDraw(playerid494.000000332.000000"Date: 2/25/2014");
    
PlayerTextDrawBackgroundColor(playeridInfoTD[27][playerid], 255);
    
PlayerTextDrawFont(playeridInfoTD[27][playerid], 1);
    
PlayerTextDrawLetterSize(playeridInfoTD[27][playerid], 0.2800001.099999);
    
PlayerTextDrawColor(playeridInfoTD[27][playerid], -1442775041);
    
PlayerTextDrawSetOutline(playeridInfoTD[27][playerid], 1);
    
PlayerTextDrawSetProportional(playeridInfoTD[27][playerid], 1);
    
InfoTD[28][playerid] = CreatePlayerTextDraw(playerid494.000000344.000000"Time: 11:00:00");
    
PlayerTextDrawBackgroundColor(playeridInfoTD[28][playerid], 255);
    
PlayerTextDrawFont(playeridInfoTD[28][playerid], 1);
    
PlayerTextDrawLetterSize(playeridInfoTD[28][playerid], 0.2800001.099999);
    
PlayerTextDrawColor(playeridInfoTD[28][playerid], -1442775041);
    
PlayerTextDrawSetOutline(playeridInfoTD[28][playerid], 1);
    
PlayerTextDrawSetProportional(playeridInfoTD[28][playerid], 1);
    
InfoTD[30][playerid] = CreatePlayerTextDraw(playerid494.000000362.000000"Virtul World: 0");
    
PlayerTextDrawBackgroundColor(playeridInfoTD[30][playerid], 255);
    
PlayerTextDrawFont(playeridInfoTD[30][playerid], 1);
    
PlayerTextDrawLetterSize(playeridInfoTD[30][playerid], 0.2800001.099999);
    
PlayerTextDrawColor(playeridInfoTD[30][playerid], -16727041);
    
PlayerTextDrawSetOutline(playeridInfoTD[30][playerid], 1);
    
PlayerTextDrawSetProportional(playeridInfoTD[30][playerid], 1);
    
InfoTD[31][playerid] = CreatePlayerTextDraw(playerid494.000000373.000000"Interior: 0");
    
PlayerTextDrawBackgroundColor(playeridInfoTD[31][playerid], 255);
    
PlayerTextDrawFont(playeridInfoTD[31][playerid], 1);
    
PlayerTextDrawLetterSize(playeridInfoTD[31][playerid], 0.2800001.099999);
    
PlayerTextDrawColor(playeridInfoTD[31][playerid], -16727041);
    
PlayerTextDrawSetOutline(playeridInfoTD[31][playerid], 1);
    
PlayerTextDrawSetProportional(playeridInfoTD[31][playerid], 1);
    
InfoTD[33][playerid] = CreatePlayerTextDraw(playerid494.000000391.000000"Vehicle Name: 0");
    
PlayerTextDrawBackgroundColor(playeridInfoTD[33][playerid], 255);
    
PlayerTextDrawFont(playeridInfoTD[33][playerid], 1);
    
PlayerTextDrawLetterSize(playeridInfoTD[33][playerid], 0.2800001.099999);
    
PlayerTextDrawColor(playeridInfoTD[33][playerid], 1852731135);
    
PlayerTextDrawSetOutline(playeridInfoTD[33][playerid], 1);
    
PlayerTextDrawSetProportional(playeridInfoTD[33][playerid], 1);
    
InfoTD[34][playerid] = CreatePlayerTextDraw(playerid494.000000402.000000"Vehicle Model: 0");
    
PlayerTextDrawBackgroundColor(playeridInfoTD[34][playerid], 255);
    
PlayerTextDrawFont(playeridInfoTD[34][playerid], 1);
    
PlayerTextDrawLetterSize(playeridInfoTD[34][playerid], 0.2800001.099999);
    
PlayerTextDrawColor(playeridInfoTD[34][playerid], 1852731135);
    
PlayerTextDrawSetOutline(playeridInfoTD[34][playerid], 1);
    
PlayerTextDrawSetProportional(playeridInfoTD[34][playerid], 1);
    
InfoTD[35][playerid] = CreatePlayerTextDraw(playerid494.000000413.000000"Vehicle Health: 0");
    
PlayerTextDrawBackgroundColor(playeridInfoTD[35][playerid], 255);
    
PlayerTextDrawFont(playeridInfoTD[35][playerid], 1);
    
PlayerTextDrawLetterSize(playeridInfoTD[35][playerid], 0.2800001.099999);
    
PlayerTextDrawColor(playeridInfoTD[35][playerid], 1852731135);
    
PlayerTextDrawSetOutline(playeridInfoTD[35][playerid], 1);
    
PlayerTextDrawSetProportional(playeridInfoTD[35][playerid], 1);
    return 
1;
}
//------------------------------------------------------------------------------
stock DestroyPlayerInfo(playerid)
{
    
PlayerTextDrawDestroy(playeridInfoTD[8][playerid]);
    
PlayerTextDrawDestroy(playeridInfoTD[9][playerid]);
    
PlayerTextDrawDestroy(playeridInfoTD[10][playerid]);
    
PlayerTextDrawDestroy(playeridInfoTD[11][playerid]);
    
PlayerTextDrawDestroy(playeridInfoTD[13][playerid]);
    
PlayerTextDrawDestroy(playeridInfoTD[14][playerid]);
    
PlayerTextDrawDestroy(playeridInfoTD[15][playerid]);
    
PlayerTextDrawDestroy(playeridInfoTD[16][playerid]);
    
PlayerTextDrawDestroy(playeridInfoTD[18][playerid]);
    
PlayerTextDrawDestroy(playeridInfoTD[19][playerid]);
    
PlayerTextDrawDestroy(playeridInfoTD[20][playerid]);
    
PlayerTextDrawDestroy(playeridInfoTD[21][playerid]);
    
PlayerTextDrawDestroy(playeridInfoTD[23][playerid]);
    
PlayerTextDrawDestroy(playeridInfoTD[24][playerid]);
    
PlayerTextDrawDestroy(playeridInfoTD[25][playerid]);
    
PlayerTextDrawDestroy(playeridInfoTD[27][playerid]);
    
PlayerTextDrawDestroy(playeridInfoTD[28][playerid]);
    
PlayerTextDrawDestroy(playeridInfoTD[30][playerid]);
    
PlayerTextDrawDestroy(playeridInfoTD[31][playerid]);
    
PlayerTextDrawDestroy(playeridInfoTD[33][playerid]);
    
PlayerTextDrawDestroy(playeridInfoTD[34][playerid]);
    
PlayerTextDrawDestroy(playeridInfoTD[35][playerid]);
    return 
1;
}
//------------------------------------------------------------------------------
stock ShowPlayerInfo(playerid)
{
    
PlayerTextDrawShow(playeridInfoTD[3][playerid]);
    
PlayerTextDrawShow(playeridInfoTD[36][playerid]);
    
PlayerTextDrawShow(playeridInfoTD[37][playerid]);
    
PlayerTextDrawShow(playeridInfoTD[38][playerid]);
    
PlayerTextDrawShow(playeridInfoTD[39][playerid]);
    
PlayerTextDrawShow(playeridInfoTD[40][playerid]);
    
PlayerTextDrawShow(playeridInfoTD[41][playerid]);
    
PlayerTextDrawShow(playeridInfoTD[4][playerid]);
    
PlayerTextDrawShow(playeridInfoTD[5][playerid]);
    
PlayerTextDrawShow(playeridInfoTD[6][playerid]);
    
PlayerTextDrawShow(playeridInfoTD[7][playerid]);
    
PlayerTextDrawShow(playeridInfoTD[8][playerid]);
    
PlayerTextDrawShow(playeridInfoTD[9][playerid]);
    
PlayerTextDrawShow(playeridInfoTD[10][playerid]);
    
PlayerTextDrawShow(playeridInfoTD[11][playerid]);
    
PlayerTextDrawShow(playeridInfoTD[12][playerid]);
    
PlayerTextDrawShow(playeridInfoTD[13][playerid]);
    
PlayerTextDrawShow(playeridInfoTD[14][playerid]);
    
PlayerTextDrawShow(playeridInfoTD[15][playerid]);
    
PlayerTextDrawShow(playeridInfoTD[16][playerid]);
    
PlayerTextDrawShow(playeridInfoTD[17][playerid]);
    
PlayerTextDrawShow(playeridInfoTD[18][playerid]);
    
PlayerTextDrawShow(playeridInfoTD[19][playerid]);
    
PlayerTextDrawShow(playeridInfoTD[20][playerid]);
    
PlayerTextDrawShow(playeridInfoTD[21][playerid]);
    
PlayerTextDrawShow(playeridInfoTD[22][playerid]);
    
PlayerTextDrawShow(playeridInfoTD[23][playerid]);
    
PlayerTextDrawShow(playeridInfoTD[24][playerid]);
    
PlayerTextDrawShow(playeridInfoTD[25][playerid]);
    
PlayerTextDrawShow(playeridInfoTD[26][playerid]);
    
PlayerTextDrawShow(playeridInfoTD[27][playerid]);
    
PlayerTextDrawShow(playeridInfoTD[28][playerid]);
    
PlayerTextDrawShow(playeridInfoTD[29][playerid]);
    
PlayerTextDrawShow(playeridInfoTD[30][playerid]);
    
PlayerTextDrawShow(playeridInfoTD[31][playerid]);
    
PlayerTextDrawShow(playeridInfoTD[32][playerid]);
    
PlayerTextDrawShow(playeridInfoTD[33][playerid]);
    
PlayerTextDrawShow(playeridInfoTD[34][playerid]);
    
PlayerTextDrawShow(playeridInfoTD[35][playerid]);
    return 
1;
}
//------------------------------------------------------------------------------
stock HideInfo(playerid)
{
    
PlayerTextDrawHide(playeridInfoTD[3][playerid]);
    
PlayerTextDrawHide(playeridInfoTD[4][playerid]);
    
PlayerTextDrawHide(playeridInfoTD[5][playerid]);
    
PlayerTextDrawHide(playeridInfoTD[6][playerid]);
    
PlayerTextDrawHide(playeridInfoTD[7][playerid]);
    
PlayerTextDrawHide(playeridInfoTD[36][playerid]);
    
PlayerTextDrawHide(playeridInfoTD[37][playerid]);
    
PlayerTextDrawHide(playeridInfoTD[38][playerid]);
    
PlayerTextDrawHide(playeridInfoTD[39][playerid]);
    
PlayerTextDrawHide(playeridInfoTD[40][playerid]);
    
PlayerTextDrawHide(playeridInfoTD[41][playerid]);
    
PlayerTextDrawHide(playeridInfoTD[8][playerid]);
    
PlayerTextDrawHide(playeridInfoTD[9][playerid]);
    
PlayerTextDrawHide(playeridInfoTD[10][playerid]);
    
PlayerTextDrawHide(playeridInfoTD[11][playerid]);
    
PlayerTextDrawHide(playeridInfoTD[12][playerid]);
    
PlayerTextDrawHide(playeridInfoTD[13][playerid]);
    
PlayerTextDrawHide(playeridInfoTD[14][playerid]);
    
PlayerTextDrawHide(playeridInfoTD[15][playerid]);
    
PlayerTextDrawHide(playeridInfoTD[16][playerid]);
    
PlayerTextDrawHide(playeridInfoTD[17][playerid]);
    
PlayerTextDrawHide(playeridInfoTD[18][playerid]);
    
PlayerTextDrawHide(playeridInfoTD[19][playerid]);
    
PlayerTextDrawHide(playeridInfoTD[20][playerid]);
    
PlayerTextDrawHide(playeridInfoTD[21][playerid]);
    
PlayerTextDrawHide(playeridInfoTD[22][playerid]);
    
PlayerTextDrawHide(playeridInfoTD[23][playerid]);
    
PlayerTextDrawHide(playeridInfoTD[24][playerid]);
    
PlayerTextDrawHide(playeridInfoTD[25][playerid]);
    
PlayerTextDrawHide(playeridInfoTD[26][playerid]);
    
PlayerTextDrawHide(playeridInfoTD[27][playerid]);
    
PlayerTextDrawHide(playeridInfoTD[28][playerid]);
    
PlayerTextDrawHide(playeridInfoTD[29][playerid]);
    
PlayerTextDrawHide(playeridInfoTD[30][playerid]);
    
PlayerTextDrawHide(playeridInfoTD[31][playerid]);
    
PlayerTextDrawHide(playeridInfoTD[32][playerid]);
    
PlayerTextDrawHide(playeridInfoTD[33][playerid]);
    
PlayerTextDrawHide(playeridInfoTD[34][playerid]);
    
PlayerTextDrawHide(playeridInfoTD[35][playerid]);
    return 
1;
}
//------------------------------------------------------------------------------
stock DestroyAllTextDraws(playerid)
{
    
PlayerTextDrawDestroy(playeridInfoTD[3][playerid]);
    
PlayerTextDrawDestroy(playeridInfoTD[4][playerid]);
    
PlayerTextDrawDestroy(playeridInfoTD[5][playerid]);
    
PlayerTextDrawDestroy(playeridInfoTD[6][playerid]);
    
PlayerTextDrawDestroy(playeridInfoTD[7][playerid]);
    
PlayerTextDrawDestroy(playeridInfoTD[12][playerid]);
    
PlayerTextDrawDestroy(playeridInfoTD[17][playerid]);
    
PlayerTextDrawDestroy(playeridInfoTD[22][playerid]);
    
PlayerTextDrawDestroy(playeridInfoTD[26][playerid]);
    
PlayerTextDrawDestroy(playeridInfoTD[29][playerid]);
    
PlayerTextDrawDestroy(playeridInfoTD[32][playerid]);
    for(new 
ii<GetMaxPlayers(); i++)
    {
        if(
IsPlayerConnected(i))
        {
            
DestroyPlayerInfo(i);
        }
    }
    return 
1;
}
//------------------------------------------------------------------------------
stock TotalGameTime(playerid, &h=0, &m=0, &s=0)
{
    
PlayerTimePlayed[playerid][TotalTime] = ( (gettime() - PlayerTimePlayed[playerid][ConnectTime]) + (PlayerTimePlayed[playerid][hours]*60*60) + (PlayerTimePlayed[playerid][mins]*60) + (PlayerTimePlayed[playerid][secs]) );
    
floatround(PlayerTimePlayed[playerid][TotalTime] / 3600floatround_floor);
    
floatround(PlayerTimePlayed[playerid][TotalTime] / 60,   floatround_floor) % 60;
    
floatround(PlayerTimePlayed[playerid][TotalTime] % 60,   floatround_floor);
    return 
PlayerTimePlayed[playerid][TotalTime];


PHP Code:
Credits:
     
"a_samp" //SAMP-Team
     
"Texdraws" //iPLEOmax
     
"Scripting" //HoussamMaroc 
Bugs
If have found a bug please REPORT in this thread
Reply
#2

no dont share this shitty code.
Reply
#3

Well thats an snippet not filterscript lol
Reply
#4

Quote:
Originally Posted by CodeStyle175
View Post
no dont share this shitty code.
I don't have pastebin
Reply
#5

[CENTER]ScreenShots

how to fix
Reply
#6

Code:
SetTimerEx("AutoPlayerUpdate", 60, true,"i", playerid);
60 millisecond? really?


I do not recommend using this code.
Reply
#7

Quote:
Originally Posted by PaulCrouseVS
View Post
Code:
SetTimerEx("AutoPlayerUpdate", 60, true,"i", playerid);
60 millisecond? really?


I do not recommend using this code.
i have do it because OnPlayerUpdate don't work correctly on my Computer
Reply
#8

GOOD!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)