Advertisement
Guest User

Untitled

a guest
Mar 4th, 2015
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 1.07 KB | None | 0 0
  1. //========SEBELUM========
  2. CMD:newpoll(playerid, params[]) {
  3.                 if(PlayerInfo[playerid][pAdmin] >= 999999) {
  4.         new string[225],faq[128];
  5.         if(sscanf(params,"s[128]",faq)) return SendClientMessage(playerid, -1,"Usage: /newpol [question]");
  6.         format(string,sizeof(string),"*POLLING: {FFFF00}%s\n{FFFFFF}Use {FFFF00}/yes {FFFFFF}or {FFFF00}/no", faq);
  7.         SendClientMessageToAll(COLOR_LIGHTBLUE,string);
  8.         VoteAvailable   =   1;
  9.         SetTimer("VotingTime", 45000, false);
  10.         return 1;
  11.  
  12. }
  13.  
  14. //======SESUDAH=========
  15. CMD:newpoll(playerid, params[]) {
  16.     if(PlayerInfo[playerid][pAdmin] >= 999999) {
  17.             new string[225],faq[128];
  18.             if(sscanf(params,"s[128]",faq)) return SendClientMessage(playerid, -1,"Usage: /newpol [question]");
  19.             format(string,sizeof(string),"*POLLING: {FFFF00}%s\n{FFFFFF}Use {FFFF00}/yes {FFFFFF}or {FFFF00}/no", faq);
  20.             SendClientMessageToAll(COLOR_LIGHTBLUE,string);
  21.             VoteAvailable   =   1;
  22.             SetTimer("VotingTime", 45000, false);
  23.     } // ini kurang
  24.         return 1;
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement