AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How do I add a reason to why they were kicked? (https://forums.alliedmods.net/showthread.php?t=12312)

[RKS]i/you.got.pwned 04-11-2005 19:25

How do I add a reason to why they were kicked?
 
Hi, I am hoping you can help me. I am trying to add a reason when they are auto kicked by a plugin, don't know how so I will ask here.
Code:

                server_cmd("kick #%d",get_user_userid(id))
How do I add reason to this?

thanks in advance
-i/you.got.pwned

FeuerSturm 04-11-2005 19:33

Code:

server_cmd("kick #%d You suck!",get_user_userid(id))

[RKS]i/you.got.pwned 04-11-2005 19:34

um doesnt it need quotes around the reason?

FeuerSturm 04-11-2005 19:35

do you see quotes around the reason?

if you see quotes in my post, then you need them, if not, guess.

[RKS]i/you.got.pwned 04-11-2005 19:37

I guess not, I'll go test it out right now.

v3x 04-11-2005 21:52

It's always better to add quotes if it's more than one word. :D

XxAvalanchexX 04-11-2005 22:48

Quote:

Originally Posted by v3x
It's always better to add quotes if it's more than one word. :D

ggh4x don't say something if you don't know what you are talking about.

You don't need quotes for that. If you put them then you will have stupid quotes. IE:

Quote:

You were kicked. Reason : "haha these are dumbass quotes"

[RKS]i/you.got.pwned 04-12-2005 13:05

You guys are all confusing me, should I add quotes or no?

XxKpAznGuyxX 04-12-2005 13:08

no you idiot, read the post above you

v3x 04-13-2005 15:32

Quote:

Originally Posted by XxAvalanchexX
ggh4x don't say something if you don't know what you are talking about.

You don't need quotes for that. If you put them then you will have stupid quotes. IE:

Quote:

You were kicked. Reason : "haha these are dumbass quotes"

Hmm, I always use quotes. :P

Also, I always kick from the menu.


All times are GMT -4. The time now is 10:01.

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