daily pastebin goal
46%
SHARE
TWEET

sadasd

a guest Mar 26th, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. CMD:frliaktovka(playerid, params[])
  2. {
  3.     if(PlayerInfo[playerid][pAktovka] == 1)
  4.     {
  5.         new aktovkastring[256];
  6.         GetPlayerPos(playerid,tX,tY,tZ);
  7.         GetPlayerFacingAngle(playerid, tA);
  8.         tX += (1 * floatsin(-tA, degrees));
  9.         tY += (1 * floatcos(-tA, degrees));
  10.         ////////////////////////////////////////////////////////////////////////
  11.         format(aktovkastring, sizeof(aktovkastring),"{970000}Frlena Aktovka\n{FFFFFF}- koristete /zemiaktovka.");
  12.         AktovkaLabel[playerid] = Create3DTextLabel(aktovkastring, 0xFF0000FF,tX,tY,tZ,8.0,0);
  13.         AktovkaObjekt[playerid] = CreateDynamicObject(1210, tX, tY, tZ-0.8, 0, 0, 0);
  14.         SCM(playerid, COLOR_WHITE, "{FFFFFF}[{970000}AKTOVKA{FFFFFF}] Uspeshno ja frlivte aktovkata.");
  15.         format(string, sizeof(string), "* %s ja frla aktovkata na zemja.", sendername);
  16.         ProxDetector(10.0, playerid, aktovkastring, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
  17.         PlayerInfo[playerid][pAktovka] = 0;
  18.     }
  19.     else
  20.     {
  21.         SCM(playerid, COLOR_WHITE, "{FF0000}ERROR | {FFFFFF}Nemate aktovka.");
  22.     }
  23.     return 1;
  24. }
  25. CMD:zemiaktovka(playerid, params[])
  26. {
  27.     new string[128];
  28.     new sendername[MAX_PLAYERS];
  29.     GetPlayerName(playerid, sendername, sizeof(sendername));
  30.     DestroyDynamicObject(AktovkaObjekt[playerid]);
  31.     Delete3DTextLabel(AktovkaLabel[playerid]);
  32.     SCM(playerid, COLOR_WHITE, "{FFFFFF}[{970000}AKTOVKA{FFFFFF}] Uspeshno ja zemavte aktovkata, imate golema srekja.");
  33.     format(string, sizeof(string), "* %s ja zema aktovkata od zemja.", sendername);
  34.     ProxDetector(10.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
  35.     PlayerInfo[playerid][pAktovka] = 1;
  36.     return 1;
  37. }
  38.  
  39.  
  40.  
  41.  
  42.  
  43.         format(string, sizeof(string), "* %s ostava neshto vo svojata aktovka.", sendername);
  44.         ProxDetector(10.0, playerid, aktovkastring, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
  45.        
  46.         format(string, sizeof(string), "* %s vadi neshto od svojata aktovka.", sendername);
  47.         ProxDetector(10.0, playerid, aktovkastring, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top