Raised This Month: $ Target: $400
 0% 

[RP] killing player when a value hits 100


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Master53
Veteran Member
Join Date: Dec 2009
Old 12-23-2009 , 09:36   [RP] killing player when a value hits 100
Reply With Quote #1

im making a huger mod. iv created all the physics for it. but how would i get the player to die when the value is at 100% and without using slay or timebomb.
Master53 is offline
almcaeobtac
Senior Member
Join Date: Nov 2008
Location: Florida
Old 12-23-2009 , 13:08   Re: [RP] killing player when a value hits 100
Reply With Quote #2

TRIPLE POST WTF
__________________
almcaeobtac is offline
Master53
Veteran Member
Join Date: Dec 2009
Old 12-23-2009 , 13:21   Re: [RP] killing player when a value hits 100
Reply With Quote #3

wtf i posted one and it ....
Master53 is offline
Luggi
Member
Join Date: Dec 2008
Old 12-24-2009 , 03:28   Re: [RP] killing player when a value hits 100
Reply With Quote #4

as i think you added they increase / decrease to the wages payroll you should use something like

if(Hunger[Client] = 100)
{
PrintToChat(Client, "[RP] You died of Starvation")
ForcePlayerSuicide(Client);
}

This should work
Luggi is offline
Master53
Veteran Member
Join Date: Dec 2009
Old 12-28-2009 , 14:31   Re: [RP] killing player when a value hits 100
Reply With Quote #5

yes my script is abit like this. but it has more stuff in it. and thanks
Master53 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 06:04.


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