AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Warning 202: number of arguments does not match def. (https://forums.alliedmods.net/showthread.php?t=10177)

Infra 02-10-2005 15:34

Warning 202: number of arguments does not match def.
 
show_menu(id,(1<<0)|(1<<1)|(1<<2)|(1<<9),"\yA MX Match Record demo:\w^n^n1. %L^n2. HLTV^n3. %L & HLTV^n4. %L^n^n0. %L",id,"AMX_MATCH_IN_EYES",id,"AMX_MATCH_IN_E YES",id,"NO",id,"BACK")

This is the offending line, and I can't figure out why there is a warning. If anybody sees anything out of the ordinary, feel free to comment...

xeroblood 02-10-2005 16:21

You should use the format function and store the resulting string into a variable before passing it to show_menu()


All times are GMT -4. The time now is 19:15.

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