AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Add # to decimal (https://forums.alliedmods.net/showthread.php?t=64390)

Zky 12-14-2007 17:44

Add # to decimal
 
Hello!

I have one question, i need to add "#" to decimal

amx_command 8010

Code:

read_argv(1, arg1, 31)
new player = cmd_target(id, arg1, CMDTARGET_OBEY_IMMUNITY | CMDTARGET_ALLOW_SELF)

And that it has turned out, as if I have sent a command on a server

amx_command #8010

What i need to add ? Don't ask me why i need that )

[ --<-@ ] Black Rose 12-14-2007 21:28

Re: Add # to decimal
 
Why do you need that?

_Master_ 12-15-2007 07:32

Re: Add # to decimal
 
server_cmd( "%s #%d", amx_command, 8010 );

[ --<-@ ] Black Rose 12-15-2007 11:32

Re: Add # to decimal
 
How can you respond? The first post makes no sense at all, neither does yours.


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

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