Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnPlayerDisconnect(playerid, reason)
- {
- //Admin Account hack fix
- if(AdminDuty[playerid]) cmd_aduty(playerid, "");
- //
- // Crash Fix
- new name[MAX_PLAYER_NAME];
- GetPlayerName(playerid, name, sizeof(name));
- if(!strcmp(name, "InvalidNick", true)) return 1;
- if(!strcmp(name, "BannedPlayer", true)) return 1;
- if(playerid == MAX_PLAYERS) return 1;
- if(pTazer[playerid] == 1) GivePlayerValidWeapon(playerid,pTazerReplace[playerid],60000);
- if(GetPVarInt(playerid, "SpeedRadar") == 1) GivePlayerValidWeapon(playerid, GetPVarInt(playerid, "RadarReplacement"), 60000);
- if(GetPVarInt(playerid, "MovingStretcher") != -1) {
- KillTimer(GetPVarInt(playerid, "TickEMSMove"));
- DeletePVar(GetPVarInt(playerid, "MovingStretcher"), "OnStretcher");
- SetPVarInt(playerid, "MovingStretcher", -1);
- }
- if(IsValidDynamicObject(PlayerInfo[playerid][pWeedObject]))
- {
- DestroyDynamicObject(PlayerInfo[playerid][pWeedObject]);
- }
- if(IsValidDynamicObject(BoomboxInfo[playerid][bbObject]))
- {
- DestroyDynamicObject(BoomboxInfo[playerid][bbObject]);
- foreach(Player, i)
- {
- if(IsPlayerInRangeOfPoint(i,150.0,BoomboxInfo[playerid][bbPosX],BoomboxInfo[playerid][bbPosY],BoomboxInfo[playerid][bbPosZ]) && GetPlayerInterior(i) == BoomboxInfo[playerid][bbInt] && GetPlayerVirtualWorld(i) == BoomboxInfo[playerid][bbVW])
- {
- StopAudioStreamForPlayer(i);
- }
- }
- }
- if(GetPVarInt(playerid, "PBM") < 1) {
- if(GetPVarInt(playerid, "Hospital") > 0) {
- PlayerInfo[playerid][pHospital] = 1;
- }
- if(GetPVarInt(playerid, "Injured") == 1) {
- PlayerInfo[playerid][pHospital] = 1;
- KillEMSQueue(playerid);
- ResetPlayerWeaponsEx(playerid);
- }
- } else {
- new
- szMessage[64];
- format(szMessage, sizeof(szMessage), "%s has left the paintball game (disconnect).", GetPlayerNameEx(playerid));
- foreach(Player, i) {
- if(GetPVarInt(i, "PBM") == GetPVarInt(playerid, "PBM") && i != playerid)
- SendClientMessage(i, COLOR_RED, szMessage);
- }
- }
- if(PlayerInfo[playerid][pLockCar] != INVALID_VEHICLE_ID)
- vehicle_unlock_doors(PlayerInfo[playerid][pLockCar]);
- if(PlayerInfo[playerid][pVehicleKeysFrom] != INVALID_PLAYER_ID)
- PlayerVehicleInfo[PlayerInfo[playerid][pVehicleKeysFrom]][PlayerInfo[playerid][pVehicleKeys]][pvAllowedPlayerId] = INVALID_PLAYER_ID;
- InsideShamal[playerid] = INVALID_VEHICLE_ID;
- PlayerInfo[playerid][pInt] = GetPlayerInterior(playerid);
- GetPlayerPos(playerid, PlayerInfo[playerid][pPos_x], PlayerInfo[playerid][pPos_y], PlayerInfo[playerid][pPos_z]);
- GetPlayerFacingAngle(playerid, PlayerInfo[playerid][pPos_r]);
- if(GetPlayerSkin(playerid) == 155)
- PlayerInfo[playerid][pSkin] = GetPVarInt(playerid, "NPS");
- if(InsideShamal[playerid] != INVALID_VEHICLE_ID) {
- if(InsideShamal[playerid] == INVALID_VEHICLE_ID || GetVehicleModel(InsideShamal[playerid]) != 519)
- {
- GivePlayerValidWeapon(playerid, 46, 60000);
- PlayerInfo[playerid][pPos_x] = 0.000000;
- PlayerInfo[playerid][pPos_y] = 0.000000;
- PlayerInfo[playerid][pPos_z] = 420.000000;
- }
- else
- {
- new Float:X, Float:Y, Float:Z;
- GetVehiclePos(InsideShamal[playerid], X, Y, Z);
- PlayerInfo[playerid][pPos_x] = X;
- PlayerInfo[playerid][pPos_y] = Y;
- PlayerInfo[playerid][pPos_z] = Z;
- new Float:XB, Float:YB, Float:ZB;
- GetVehiclePos(InsideShamal[playerid], XB, YB, ZB);
- if(ZB > 50.0)
- {
- GivePlayerValidWeapon(playerid, 46, 60000);
- }
- }
- PlayerInfo[playerid][pVW] = 0;
- SetPlayerVirtualWorld(playerid, 0);
- PlayerInfo[playerid][pInt] = 0;
- SetPlayerInterior(playerid, 0);
- InsideShamal[playerid] = INVALID_VEHICLE_ID;
- }
- UnloadPlayerVehicles(playerid);
- ResetPlayerWeapons(playerid);
- for(new i = 0; i < MAX_REPORTS; i++)
- {
- if(Reports[i][ReportFrom] == playerid)
- {
- Reports[i][ReportFrom] = 999;
- Reports[i][BeingUsed] = 0;
- Reports[i][TimeToExpire] = 0;
- }
- }
- foreach(Player, i)
- {
- if(TaxiAccepted[i] == playerid)
- {
- TaxiAccepted[i] = 999;
- GameTextForPlayer(i, "~w~Taxi Caller~n~~r~Left the game", 5000, 1);
- TaxiCallTime[i] = 0;
- DisablePlayerCheckpoint(i);
- }
- if(EMSAccepted[i] == playerid)
- {
- EMSAccepted[i] = 999;
- GameTextForPlayer(i, "~w~EMS Caller~n~~r~Left the game", 5000, 1);
- EMSCallTime[i] = 0;
- DisablePlayerCheckpoint(i);
- }
- if(BusAccepted[i] == playerid)
- {
- BusAccepted[i] = 999;
- GameTextForPlayer(i, "~w~Bus Caller~n~~r~Left the game", 5000, 1);
- BusCallTime[i] = 0;
- DisablePlayerCheckpoint(i);
- }
- if(MedicAccepted[i] == playerid)
- {
- TaxiAccepted[playerid] = 999; BusAccepted[playerid] = 999; MedicAccepted[playerid] = 999;
- GameTextForPlayer(i, "~w~Medic Caller~n~~r~Left the game", 5000, 1);
- MedicCallTime[i] = 0;
- DisablePlayerCheckpoint(i);
- }
- }
- if(Spectate[playerid] < 553)
- {
- PlayerInfo[playerid][pInt] = GetPVarInt(playerid, "SpecInt");
- PlayerInfo[playerid][pVW] = GetPVarInt(playerid, "SpecVW");
- PlayerInfo[playerid][pPos_x] = GetPVarFloat(playerid, "SpecPosX");
- PlayerInfo[playerid][pPos_y] = GetPVarFloat(playerid, "SpecPosY");
- PlayerInfo[playerid][pPos_z] = GetPVarFloat(playerid, "SpecPosZ");
- GettingSpectated[Spectate[playerid]] = 999;
- Spectate[playerid] = 999;
- }
- if(GetPVarInt(playerid, "gpsonoff") == 1) TextDrawDestroy(GPS[playerid]);
- if(PlayerBoxing[playerid] > 0)
- {
- if(Boxer1 == playerid)
- {
- if(IsPlayerConnected(Boxer2))
- {
- if(IsPlayerInRangeOfPoint(PlayerBoxing[Boxer2], 25.0, 765.952270, 4.167977, 1000.719238))
- {
- PlayerBoxing[Boxer2] = 0;
- SetPlayerPos(Boxer2, 765.952270, 4.167977, 1000.719238);
- SetPlayerInterior(Boxer2, 5);
- GameTextForPlayer(Boxer2, "~r~Match interrupted", 5000, 1);
- return 1;
- }
- }
- }
- else if(Boxer2 == playerid)
- {
- if(IsPlayerConnected(Boxer1))
- {
- if(IsPlayerInRangeOfPoint(PlayerBoxing[Boxer1],25.0,765.952270, 4.167977, 1000.719238))
- {
- PlayerBoxing[Boxer1] = 0;
- SetPlayerPos(Boxer1, 765.952270, 4.167977, 1000.719238);
- SetPlayerInterior(Boxer1, 5);
- GameTextForPlayer(Boxer1, "~r~Match interrupted", 5000, 1);
- return 1;
- }
- }
- }
- InRing = 0;
- RoundStarted = 0;
- Boxer1 = INVALID_PLAYER_ID;
- Boxer2 = INVALID_PLAYER_ID;
- }
- new string[128];
- switch (reason)
- {
- case 0:
- {
- format(string, sizeof(string), "%s has left the server (timeout).", GetPlayerNameEx(playerid));
- ProxDetector(30.0, playerid, string, COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW);
- if(PlayerCuffed[playerid] != 0)
- {
- strcpy(PlayerInfo[playerid][pPrisonedBy], "Server", 64);
- strcpy(PlayerInfo[playerid][pPrisonReason], "Logging while cuffed (timeout)", 64);
- PlayerInfo[playerid][pJailed] = 3;
- PlayerInfo[playerid][pJailTime] += 30*60;
- }
- }
- case 1:
- {
- format(string, sizeof(string), "%s has left the server (leaving).", GetPlayerNameEx(playerid));
- ProxDetector(30.0, playerid, string, COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW);
- if(PlayerCuffed[playerid] != 0)
- {
- strcpy(PlayerInfo[playerid][pPrisonedBy], "Server", 64);
- strcpy(PlayerInfo[playerid][pPrisonReason], "Logging while cuffed (leaving)", 64);
- PlayerInfo[playerid][pJailed] = 3;
- PlayerInfo[playerid][pJailTime] += 20*60;
- }
- }
- case 2:
- {
- format(string, sizeof(string), "%s has left the server (kicked/banned).", GetPlayerNameEx(playerid));
- ProxDetector(30.0, playerid, string, COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW);
- }
- }
- for(new x; x < sizeof(EventKernel[EventStaff]); x++) {
- if(EventKernel[EventStaff][x] == playerid) {
- EventKernel[EventStaff][x] = 999;
- break;
- }
- }
- if(GetPVarInt(playerid, "EventToken") == 0 && !GetPVarType(playerid, "LoadingObjects"))
- {
- new Float: x, Float: y, Float: z;
- PlayerInfo[playerid][pInt] = GetPlayerInterior(playerid);
- PlayerInfo[playerid][pVW] = GetPlayerVirtualWorld(playerid);
- GetPlayerPos(playerid, x, y, z);
- GetPlayerFacingAngle(playerid, PlayerInfo[playerid][pPos_r]);
- PlayerInfo[playerid][pPos_x] = x;
- PlayerInfo[playerid][pPos_y] = y;
- PlayerInfo[playerid][pPos_z] = z;
- }
- else
- {
- PlayerInfo[playerid][pInt] = EventLastInt[playerid];
- PlayerInfo[playerid][pVW] = EventLastVW[playerid];
- PlayerInfo[playerid][pPos_r] = EventFloats[playerid][0];
- PlayerInfo[playerid][pPos_x] = EventFloats[playerid][1];
- PlayerInfo[playerid][pPos_y] = EventFloats[playerid][2];
- PlayerInfo[playerid][pPos_z] = EventFloats[playerid][3];
- }
- if(TransportCost[playerid] > 0 && TransportDriver[playerid] < 999)
- {
- if(IsPlayerConnected(TransportDriver[playerid]))
- {
- TransportMoney[TransportDriver[playerid]] += TransportCost[playerid];
- TransportTime[TransportDriver[playerid]] = 0;
- TransportCost[TransportDriver[playerid]] = 0;
- format(string, sizeof(string), "~w~Passenger left~n~~g~Earned $%d",TransportCost[playerid]);
- GameTextForPlayer(TransportDriver[playerid], string, 5000, 1);
- TransportDriver[playerid] = 999;
- }
- }
- if(GotHit[playerid] > 0)
- {
- if(GetChased[playerid] < 999)
- {
- if(IsPlayerConnected(GetChased[playerid]))
- {
- SendClientMessage(GetChased[playerid], COLOR_YELLOW, "Your hit has left the server.");
- GoChase[GetChased[playerid]] = 999;
- }
- }
- }
- if(GoChase[playerid] < 999)
- {
- GetChased[GoChase[playerid]] = 999;
- GotHit[GoChase[playerid]] = 999;
- }
- if(TransportDuty[playerid] == 1)
- {
- TaxiDrivers -= 1;
- }
- else if(TransportDuty[playerid] == 2)
- {
- BusDrivers -= 1;
- }
- if(PlayerInfo[playerid][pJob] == 11 || PlayerInfo[playerid][pJob2] == 11)
- {
- if(JobDuty[playerid] == 1) { Medics -= 1; }
- }
- if(PlayerInfo[playerid][pJob] == 7 || PlayerInfo[playerid][pJob2] == 7)
- {
- if(JobDuty[playerid] == 1) { Mechanics -= 1; }
- }
- if(GetPVarType(playerid, "tabbedVW") != 0) {
- printf("[alt tab vw debug] %d | tabvw: %d | real vw: %d", PlayerInfo[playerid][pVW], GetPVarInt(playerid, "tabbedVW"), GetPlayerVirtualWorld(playerid));
- PlayerInfo[playerid][pVW] = GetPVarInt(playerid, "tabbedVW");
- } else PlayerInfo[playerid][pVW] = GetPlayerVirtualWorld(playerid);
- printf("[alt tab vw debug] tabvw: %d | tabvw type: %d", GetPVarInt(playerid, "tabbedVW"), GetPVarType(playerid, "tabbedVW"));
- if(GetPVarInt(playerid, "PBM") > 0) {
- PlayerInfo[playerid][pPos_x] = 1782.8229;
- PlayerInfo[playerid][pPos_y] = -1565.8177;
- PlayerInfo[playerid][pPos_z] = 13.3472;
- PlayerInfo[playerid][pInt] = 0;
- PlayerInfo[playerid][pVW] = 0;
- PlayerInfo[playerid][pPos_r] = 0;
- }
- OnPlayerStatsUpdate(playerid);
- return 1;
- }
- forward Login(playerid);
- public Login(playerid)
- {
- // Main Menu Features.
- ShowMainMenuGUI(playerid);
- ClearChatbox(playerid);
- SetPlayerVirtualWorld(playerid, 0);
- SetPlayerCameraPos(playerid, 2022.083740, -1308.260620, 80.478797);
- SetPlayerCameraLookAt(playerid, 1970.506103, -1201.447143, 25.596593);
- new playername[MAX_PLAYER_NAME];
- GetPlayerName(playerid, playername, sizeof(playername));
- if(doesAccountExist(playername))
- {
- gPlayerAccount[playerid] = 1;
- ShowMainMenuDialog(playerid, 1);
- return 1;
- }
- else
- {
- gPlayerAccount[playerid] = 0;
- ShowMainMenuDialog(playerid, 2);
- return 1;
- }
- }
- stock PreloadAnims(playerid) {
- ApplyAnimation(playerid, "AIRPORT", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "Attractors", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "BAR", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "BASEBALL", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "BD_FIRE", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "BEACH", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "benchpress", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "BF_injection", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "BIKED", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "BIKEH", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "BIKELEAP", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "BIKES", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "BIKEV", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "BIKE_DBZ", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "BMX", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "BOMBER", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "BOX", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "BSKTBALL", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "BUDDY", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "BUS", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "CAMERA", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "CAR", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "CARRY", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "CAR_CHAT", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "CASINO", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "CHAINSAW", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "CHOPPA", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "CLOTHES", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "COACH", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "COLT45", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "COP_AMBIENT", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "COP_DVBYZ", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "CRACK", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "CRIB", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "DAM_JUMP", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "DANCING", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "DEALER", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "DILDO", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "DODGE", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "DOZER", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "DRIVEBYS", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "FAT", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "FIGHT_B", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "FIGHT_C", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "FIGHT_D", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "FIGHT_E", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "FINALE", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "FINALE2", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "FLAME", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "Flowers", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "FOOD", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "Freeweights", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "GANGS", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "GHANDS", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "GHETTO_DB", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "goggles", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "GRAFFITI", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "GRAVEYARD", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "GRENADE", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "GYMNASIUM", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "HAIRCUTS", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "HEIST9", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "INT_HOUSE", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "INT_OFFICE", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "INT_SHOP", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "JST_BUISNESS", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "KART", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "KISSING", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "KNIFE", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "LAPDAN1", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "LAPDAN2", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "LAPDAN3", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "LOWRIDER", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "MD_CHASE", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "MD_END", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "MEDIC", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "MISC", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "MTB", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "MUSCULAR", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "NEVADA", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "ON_LOOKERS", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "OTB", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "PARACHUTE", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "PARK", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "PAULNMAC", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "ped", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "PLAYER_DVBYS", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "PLAYIDLES", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "POLICE", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "POOL", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "POOR", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "PYTHON", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "QUAD", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "QUAD_DBZ", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "RAPPING", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "RIFLE", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "RIOT", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "ROB_BANK", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "RUSTLER", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "RYDER", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "SCRATCHING", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "SHAMAL", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "SHOP", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "SHOTGUN", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "SILENCED", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "SKATE", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "SMOKING", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "SNIPER", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "SPRAYCAN", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "STRIP", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "SUNBATHE", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "SWAT", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "SWEET", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "SWIM", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "SWORD", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "TANK", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "TATTOOS", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "TEC", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "TRAIN", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "TRUCK", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "UZI", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "VAN", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "VENDING", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "VORTEX", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "WAYFARER", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "WEAPONS", "null", 0.0, 0, 0, 0, 0, 0);
- ApplyAnimation(playerid, "WUZI", "null", 0.0, 0, 0, 0, 0, 0);
- return 1;
- }
- stock PreloadAnimLib(playerid, animlib[]) {
- return ApplyAnimation(playerid,animlib,"null",0.0,0,0,0,0,0);
- }
Advertisement
Add Comment
Please, Sign In to add comment