Guest User

Untitled

a guest
Jun 2nd, 2018
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 1.27 KB | None | 0 0
  1.  
  2. D:\PROYECTNICE\gamemodes\Nice.pwn(706) : warning 217: loose indentation  
  3. D:\PROYECTNICE\gamemodes\Nice.pwn(711) : warning 217: loose indentation  
  4. D:\PROYECTNICE\gamemodes\Nice.pwn(718) : warning 217: loose indentation  
  5.  
  6.  
  7. //Lines:
  8.  
  9. format(string, sizeof(string), "* %s (( %s )).", params, NameUser(playerid)); //706
  10.  
  11.  
  12. return 1; //711
  13.  
  14. format(string, sizeof(string), " %s %s.", NameUser(playerid), params); //718
  15.  
  16.  
  17. //Complete code
  18.  
  19.  
  20. CMD:acc(playerid, params[])
  21. {
  22.     if(!isnull(params))
  23.     {
  24.         new string[128];
  25.         format(string, sizeof(string), "* %s (( %s )).", params, NameUser(playerid)); //line 706
  26.         ProxDetector(30.0, playerid, string, 0x9ACD32AA,0x9ACD32AA,0x9ACD32AA,0x9ACD32AA,0x9ACD32AA);
  27.         SetPlayerChatBubble(playerid,string,0x9ACD32AA,15.0,5000);
  28.     }
  29.     else Mensaje(playerid, -1, "Use: /acc (action)");  
  30.     return 1;//Line 711
  31. }
  32.  
  33. CMD:ac(playerid, params[])
  34. {
  35.     if(isnull(params)) return Mensaje(playerid, -1, "Use: /ac (action)");
  36.     new string[128];
  37.     format(string, sizeof(string), " %s %s.", NameUser(playerid), params); //Line 718
  38.     ProxDetector(20.0, playerid, string, 0xC2A2DAAA,0xC2A2DAAA,0xC2A2DAAA,0xC2A2DAAA,0xC2A2DAAA);
  39.     SetPlayerChatBubble(playerid,string,0xC2A2DAAA,15.0,5000);
  40.     return 1;
  41. }
Advertisement
Add Comment
Please, Sign In to add comment