AlliedModders

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

Mlk27 03-17-2009 19:15

Precision
 
Can you post some example of precisions in amxmodx scripting?

Dr.G 03-17-2009 19:18

Re: Precision
 
What do ya mean?

Mlk27 03-17-2009 19:23

Re: Precision
 
something like

Code:

console_print(id, "Name change is only allowed once in %.1f minutes.", get_pcvar_float(g_nameflood_time) / 60.0)
Code:

console_print(id, "%2d  %-16.15s %-20s %-8d %-6.5s %-6.5s %s", players[a], name, authid, ....
I dont understand what the number before and after the dot indicates, and what the dash sign is for etc

Emp` 03-17-2009 19:30

Re: Precision
 
http://wiki.alliedmods.net/Format_Cl...Mod_Scripting)

Arkshine 03-17-2009 19:56

Re: Precision
 
Quote:

Originally Posted by Emp` (Post 783191)

Link fixed. ^^

You can see there too.

Mlk27 03-17-2009 20:04

Re: Precision
 
Guys thanks for the links.

+1 karma


All times are GMT -4. The time now is 08:50.

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