Raised This Month: $ Target: $400
 0% 

I can do that this works?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
OptimizeR
BANNED
Join Date: Jan 2010
Old 02-01-2010 , 00:17   I can do that this works?
Reply With Quote #1

PHP Code:
new guild[33][300]
guild[INDEX] = "Player" 
And on having aimed at a player say if it he is of his in your guild or not.

example:
PHP Code:
new name[33]
get_user_name(AIMED_INDEXname32)
if (
guild[id_aimer] == name)
    
client_print(idprint_chat"User: %s |-| On Guild"name)
else
    
client_print(idprint_chat"User: %s |-| Out Guild"name
OptimizeR is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 02-01-2010 , 08:31   Re: I can do that this works?
Reply With Quote #2

To check a string, you have to use equal() or equali().
__________________
Arkshine is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:20.


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