Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new bool:a = false;
- public OnPluginStart()
- {
- RegAdminCommand("sm_superslap",
- Command_Superslap,
- ADMFLAG_SUPERSLAP,
- "Slaps the shit out of all the hookers on the server")
- }
- public SlapPlayers()
- {
- for (i=1; 1<=MaxPlayers; i++)
- {
- SlapPlayer(i, 0, true)
- }
- if (a == false)
- {
- return plugin_Stop
- }
- if (a == true)
- {
- return plugin_Continue
- }
- }
- public Action:Command_Superslap(Handle:timer)
- {
- CreateTimer(0.2, SlapPlayers)
- if (a == true)
- {
- a = false
- }
- if (a == false)
- {
- a = true
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement