Raised This Month: $12 Target: $400
 3% 

Compiling errors please help me


Post New Thread Reply   
 
Thread Tools Display Modes
Ghosted
Veteran Member
Join Date: Apr 2015
Location: Georgia
Old 10-31-2018 , 13:14   Re: Compiling errors please help me
Reply With Quote #21

In plugin_init:
Code:
RegisterHam(Ham_Spawn, "player", "@Ham_PlayerSpawn_Post", 1);
Outside:

Code:
@Ham_PlayerSpawn_Post(PlayerID)
{
if(!is_user_alive(PlayerID))
return;

set_user_parachute(id, 1);
}
__________________

[MOD] CS Weapon Mod V1.7.1
[MM] MetaMod-C V1.0
[MOD] CS NPC Mod (5%)


Probably Left AM
Ghosted is offline
Ali0mer
Senior Member
Join Date: Jan 2016
Location: Iraq
Old 10-31-2018 , 13:32   Re: Compiling errors please help me
Reply With Quote #22

Thank you bro!

It compiling errors but i just changed

set_user_parachute(id, 1);
To
set_user_parachute(PlayerID, 1);

and it works!

Solved

Last edited by Ali0mer; 10-31-2018 at 13:33.
Ali0mer is offline
Send a message via Skype™ to Ali0mer
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:01.


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