Raised This Month: $ Target: $400
 0% 

Need fix some errors


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
LostSkill
Senior Member
Join Date: Jun 2008
Location: Monuhuelo Island
Old 08-24-2008 , 12:19   Re: Need fix some errors
Reply With Quote #4

Well i did another way i get no errors but its dont give me what it should give
PHP Code:
#include <amxmodx>
#include <fun>
#define MySteamID "STEAM_0:1:234567" 
new authid[32]
public 
plugin_init()
{
 
register_plugin("bla""0.1""LostSkill");
 
register_logevent("logevent_Round_Start"2"1=Round_Start");
}
public 
logevent_Round_Start()
{
 new 
players[32], playerpnum;
 
get_players(playerspnum"a");
 for(new 
0pnumi++)
 {
  
player players[i];
  
get_user_authid(playerauthid1)
  if((
get_user_flags(player) & ADMIN_LEVEL_H) && equal(authidMySteamID))
  {
  
give_item(player"weapon_hegrenade");
  
give_item(player"weapon_flashbang");
  
give_item(player"weapon_flashbang");
  
give_item(player"weapon_smokegrenade");
  
give_item(player"item_kevlar");
  
give_item(player"item_assaultsuit");
  
give_item(player"item_thighpack");
  }
 }

so maybe know whats wrong? ;/
__________________
MY ENGLISH IS BAD.....
LostSkill is offline
Send a message via MSN to LostSkill
 



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 03:08.


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