Raised This Month: $ Target: $400
 0% 

Giving Weapon After Spawn


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 07-23-2010 , 08:52   Re: Giving Weapon After Spawn
Reply With Quote #1

set_task(1,"give_wep",id)

The first parameter of set_task() should be a float.
set_task( 1.0 , "give_wep" , id )

The set_task is not needed at all, just call the function directly.
PHP Code:
public Fw_PlayerSpawnPost(id)
{
     if ( 
is_user_aliveid ) )
          
give_wepid );

__________________

Last edited by Bugsy; 07-23-2010 at 08:55.
Bugsy is offline
Reply



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 00:16.


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