daily pastebin goal
73%
SHARE
TWEET

Untitled

a guest Feb 23rd, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if(strcmp(cmd,"/dani1o",true)==0)
  2.         {
  3.         new Playername[24];
  4.         GetPlayerName(playerid, Playername, sizeof(Playername));
  5.         if(strcmp(Playername,"Vito_Anfossi",true))
  6.             {
  7.             SendClientMessage(playerid, COLOR_RED, "{FF4040}GRESKA:{FFFFFF}Nemate kluc od ovaa kapija.");
  8.                 }
  9.                 else
  10.                 {
  11.                        MoveObject(dani1o, 1607.40002441,2283.10009766,6.40000010,3.00000000,0.00000000,0.00000000);
  12.                         SendClientMessage(playerid, COLOR_YELLOW, "{37F906}INFO:{FFFFFF}Ja otvorivte kapijata.");
  13.                     new pName[24];
  14.                     GetPlayerName(playerid, pName, 24);
  15.                     format(string, 128, "|%s ja otvara kapijata", pName);
  16.                     ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);             }
  17.                         return 1;
  18.         }
  19. if(strcmp(cmd,"/dani1c",true)==0)
  20.         {
  21.         new Playername[24];
  22.         GetPlayerName(playerid, Playername, sizeof(Playername));
  23.         if(strcmp(Playername,"Vito_Anfossi",true))
  24.         {
  25.             SendClientMessage(playerid, COLOR_RED, "{FF4040}GRESKA:{FFFFFF}Nemate kluc od ovaa kapija.");
  26.                 }
  27.                 else
  28.                 {
  29.                         MoveObject(dani1o, 1607.40002441,2283.10009766,12.60000038,3.00000000,0.00000000,0.00000000);
  30.                         SendClientMessage(playerid, COLOR_YELLOW, "{37F906}INFO:{FFFFFF}Ja zatvorivte kapijata.");
  31.                     new pName[24];
  32.                     GetPlayerName(playerid, pName, 24);
  33.                     format(string, 128, "|%s ja zatvara kapijata", pName);
  34.                     ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
  35.                         }
  36.                 return 1;
  37.         }
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