Vclear Vote - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Vclear Vote (
/showthread.php?tid=64537)
Vclear Vote -
Harry_Alexander - 05.02.2009
i need help with a vclear vote i got the vclear command but i dont know how to make it show gametextforall saying "VCLEAR? YES/NO" and if people type "YES" > "NO" it would vclear but if "NO" > "YES" it would not vclear but it only says "VCLEAR? YES/NO" on the command /votevclear
PLEASE HELP!!!!!!!!
Re: Vclear Vote -
Shadowww - 05.02.2009
What /vclear shoud do?
Re: Vclear Vote -
MenaceX^ - 05.02.2009
Like /vote command?
/vote [question]
Creates a vote with timer of few seconds, People can do /vote yes or /vote no
Results come when the vote's timer is done?
Something like that? :P
Re: Vclear Vote -
Mikep - 05.02.2009
Quote:
Originally Posted by Shallot | Shadowww
What should /vclear do? (English Version)
|
Clear vehicles.
Re: Vclear Vote -
Harry_Alexander - 05.02.2009
Quote:
Originally Posted by MenaceX^
Like /vote command?
/vote [question]
Creates a vote with timer of few seconds, People can do /vote yes or /vote no
Results come when the vote's timer is done?
Something like that? :P
|
Yes Something like that got any code? , Thanks for help
Re: Vclear Vote -
Harry_Alexander - 05.02.2009
Quote:
Originally Posted by Shallot | Shadowww
What /vclear shoud do?
|
/vclear is a command for removing all the vehicles on the server if you got any ideas on how to make a vote command here is the code for vclear which i have at the moment :
Code:
if (strcmp("/vclear", cmdtext, true, 10) == 0)
{
for(new v = 1; v <= MAX_VEHICLES; v++)
{
SendClientMessage(playerid, RED, "SuccsesFully VCLEARED!");
SendClientMessageToAll(0xDEEE20FF, "Game Vcleared.");
DestroyVehicle(v);
}
return 1;
}