View Single Post
Author Message
Styles
Veteran Member
Join Date: Jul 2004
Location: California
Old 11-18-2005 , 19:30   Questoins on scripting
Reply With Quote #1

I have a few questions on scripting.

1) How would you stop someone from buyone a smoke gernade. What would be the command to deny permission. like
Code:
(weapon_restrict == 1) { ns_has_weapon(id, CSW_SMOKEGRENADE, -1) client_print(id,print_chat,"[AMXX] You are not allowed to purchase Smoke Gernades") }
?

Also what should the value to setweapon = -1 be?
Code:
has_weapon ( index, weapon, [ setweapon = -1] )


Also (haha sorry) I know that things like

Code:
\yFirst Menu:^n
Generate the item variable but how is it broken down? Or what format is it in to generate the variable?
Styles is offline
Send a message via AIM to Styles