Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //========SEBELUM========
- CMD:newpoll(playerid, params[]) {
- if(PlayerInfo[playerid][pAdmin] >= 999999) {
- new string[225],faq[128];
- if(sscanf(params,"s[128]",faq)) return SendClientMessage(playerid, -1,"Usage: /newpol [question]");
- format(string,sizeof(string),"*POLLING: {FFFF00}%s\n{FFFFFF}Use {FFFF00}/yes {FFFFFF}or {FFFF00}/no", faq);
- SendClientMessageToAll(COLOR_LIGHTBLUE,string);
- VoteAvailable = 1;
- SetTimer("VotingTime", 45000, false);
- return 1;
- }
- //======SESUDAH=========
- CMD:newpoll(playerid, params[]) {
- if(PlayerInfo[playerid][pAdmin] >= 999999) {
- new string[225],faq[128];
- if(sscanf(params,"s[128]",faq)) return SendClientMessage(playerid, -1,"Usage: /newpol [question]");
- format(string,sizeof(string),"*POLLING: {FFFF00}%s\n{FFFFFF}Use {FFFF00}/yes {FFFFFF}or {FFFF00}/no", faq);
- SendClientMessageToAll(COLOR_LIGHTBLUE,string);
- VoteAvailable = 1;
- SetTimer("VotingTime", 45000, false);
- } // ini kurang
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement