AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [HELP]Create a "Say-and-Drop" Script (https://forums.alliedmods.net/showthread.php?t=94019)

the anka 06-05-2009 14:41

[HELP]Create a "Say-and-Drop" Script
 
Hi! I'm new to this all scripting-thing (Pawn, Amxx, U name it!)
So I need some help with my first script :D

I want it something like Suicide Dogs script
PHP Code:

#include <amxmodx>
public client_connect(id){
  new 
playerIQ  
  get_player_IQ
(id,playerIQ)
  if(
playerIQ 100 )  {
    
client_cmd(id,"say I'm too stupid to play;quit"

But when a chosen SteamID connects it uses the client_cmd command, so I can decide what is going to happend... :twisted:
Really hope i can get some help on this :? (And I hope you understand me!)

//The AnkA

stupok 06-05-2009 16:37

Re: [HELP]Create a "Say-and-Drop" Script
 
That kind of script is frowned upon in this community. If you have a problem with a player, just kick or ban him. There's no need for malicious behavior like executing commands in his console.


All times are GMT -4. The time now is 13:52.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.