AlliedModders

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

Kellan123 11-13-2015 08:35

fdf
 
dfsdfsdfsfds

redivcram 11-13-2015 10:02

Re: Something wrong again...
 
Might wanna explain what's the problem

Kellan123 11-13-2015 12:29

Re: Something wrong again...
 
ssssssssss

redivcram 11-13-2015 13:04

Re: Something wrong again...
 
Code:

[Access Flags]
VIP = "t"
OWNER = "g"

Quoted

Kellan123 11-13-2015 17:21

Re: Something wrong again...
 
ssssssssssssssssssssssss

redivcram 11-13-2015 18:41

Re: Something wrong again...
 
I fulfilled your request

fysiks 11-13-2015 19:37

Re: Something wrong again...
 
gAccessFlag does not contain strings, it contain numbers. Use %d instead of %s.

Quote:

Originally Posted by redivcram (Post 2362718)
Code:

[Access Flags]
VIP = "t"
OWNER = "g"

Quoted

No. To use quotes, you must add remove_quotes() after trim() for szValue.

Kellan123 11-14-2015 09:53

Re: Something wrong again...
 
ddddddddddddddddd

redivcram 11-14-2015 10:48

Re: Something wrong again...
 
Quote:

Originally Posted by fysiks (Post 2362851)
gAccessFlag does not contain strings, it contain numbers. Use %d instead of %s.

Fysiks meant

PHP Code:

 log_amx("VIP Flag: %s"gAccessFlag[VIP]);
 
log_amx("Owner Flag: %s"gAccessFlag[OWNER]); 

:arrow:

PHP Code:

 log_amx("VIP Flag: %d"gAccessFlag[VIP]);
 
log_amx("Owner Flag: %d"gAccessFlag[OWNER]); 


Kellan123 11-14-2015 12:22

Re: Something wrong again...
 
sssssssssss


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

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