Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- UzrakintosM[ playerid ] = 0;
- AtrakintosM[ playerid ] = 0;
- ///// del returno neveikia reikia kad jis butu bet kai yra erorus meto
- Box[playerid] = TextDrawCreate(622.000000, 79.000000, " ");
- TextDrawBackgroundColor(Box[playerid], 255);
- TextDrawFont(Box[playerid], 1);
- TextDrawLetterSize(Box[playerid], 0.500000, 1.000000);
- TextDrawColor(Box[playerid], -1);
- TextDrawSetOutline(Box[playerid], 0);
- TextDrawSetProportional(Box[playerid], 1);
- TextDrawSetShadow(Box[playerid], 1);
- TextDrawUseBox(Box[playerid], 1);
- TextDrawBoxColor(Box[playerid], 0x000035FF);
- TextDrawTextSize(Box[playerid], 483.000000, 49.000000);
- Ft[playerid] = TextDrawCreate(490.000000, 77.000000, "00000000Ft"); //a forint mindenhol legelol volt
- TextDrawBackgroundColor(Ft[playerid], 0xF5F51FFF);
- TextDrawFont(Ft[playerid], 1);
- TextDrawLetterSize(Ft[playerid], 0.539999, 2.299999);
- TextDrawColor(Ft[playerid], 0xCACA09FF);
- TextDrawSetOutline(Ft[playerid], 1);
- TextDrawSetProportional(Ft[playerid], 1);
- SetTimerEx("CheckMoney", 2000, true, "i", playerid);
- return 1;
- }
- ////////////////////////////////////////////////////////////////
- if(!playerDB[playerid][uniform])
- {
- playerDB[playerid][drabuziai] = GetPlayerSkin(playerid);
- }
- dinfo[playerid] = CreatePlayerTextDraw(playerid, 489.500000, 193.375000, "~p~Pradirbai: ~r~8525 min~n~~p~Uzdirbai: ~r~155000 €");
- PlayerTextDrawLetterSize(playerid, dinfo[playerid], 0.294999, 1.228124);
- PlayerTextDrawAlignment(playerid, dinfo[playerid], 1);
- PlayerTextDrawColor(playerid, dinfo[playerid], -5963521);
- PlayerTextDrawSetOutline(playerid, dinfo[playerid], 0);
- PlayerTextDrawFont(playerid, dinfo[playerid], 1);
- PlayerTextDrawSetProportional(playerid, dinfo[playerid], 1);
- return 1;
- }
- public OnPlayerDisconnect(playerid, reason)
- {
- if(playerDB[playerid][zaidzia]==3)
- {
- SaugomZaideja(playerid, true);
- KillTimer(zaidimast[playerid]);
- KillTimer(SpeedTime[playerid]);
- }
- //TextDrawHideForPlayer(playerid, laikas); // rodom textdrawà :)
- PlayerKliutis[playerid] = 0;
- Delete3DTextLabel(Kliutis3D[playerid]);
- DestroyDynamicObject(Kliutis[playerid]);
- //
- KillTimer(zaidimast[playerid]);
- KillTimer(SpeedTime[playerid]);
- }
- // va sitoi vietoi kai isemu return veikia kai padedu eroras man reikia kad jis butu nes be jo neveiks ciuju
- TextDrawHideForPlayer(playerid, Ft[playerid]);
- TextDrawHideForPlayer(playerid, Box[playerid]);
- return 1;
- }
- ////////////////////////////////////////////////////
- PlayerTextDrawDestroy(playerid, dinfo[playerid]);
- //
- if(!playerDB[playerid][uniform])
- {
- playerDB[playerid][drabuziai] = GetPlayerSkin(playerid);
- }
- if(playerDB[playerid][uniform])
- {
- playerDB[playerid][uniforma] = GetPlayerSkin(playerid);
- }
- KillTimer(MuteTime[playerid]);
- if( GetPVarInt( playerid, "Skambutis" ) != -1 )
- {
- if( GetPVarInt( GetPVarInt( playerid,"Skambutis"),"Skambutis") == playerid )
- {
- SetPVarInt( GetPVarInt( playerid, "Skambutis" ), "Skambutis" ,-1 );
- InfoMsg( GetPVarInt( playerid, "Skambutis" )," {FF0000}* Ryðys Nûtrûko, atstatymas neámanomas..." );
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment