AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Simple stuff (https://forums.alliedmods.net/showthread.php?t=21953)

HuntTheShunt 12-14-2005 16:34

Simple stuff
 
How do I send a steam id to the log file?

log_amx("Steamid =" ,authid) ?
authid is a string

How do I send an id to the log file?
log_amx("id =" ,id) ?
id is numeric



Thanks.

teame06 12-14-2005 17:04

Code:
log_amx("%s", authid")

Code:
log_amx("%d", id")

HuntTheShunt 12-15-2005 01:41

Ok...
log_amx("TheTypeOfParameterI'mGoingToSend",Th eActualParameter)

log_amx("%s", authid")
is the " after authid correct?

Thanks.

teame06 12-15-2005 02:47

Nope my mistake..

Code:
log_amx("%s", authid) log_amx("%d", id)


All times are GMT -4. The time now is 16:03.

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