AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   [RP] killing player when a value hits 100 (https://forums.alliedmods.net/showthread.php?t=113082)

Master53 12-23-2009 09:36

[RP] killing player when a value hits 100
 
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.

almcaeobtac 12-23-2009 13:08

Re: [RP] killing player when a value hits 100
 
TRIPLE POST WTF

Master53 12-23-2009 13:21

Re: [RP] killing player when a value hits 100
 
wtf i posted one and it ....

Luggi 12-24-2009 03:28

Re: [RP] killing player when a value hits 100
 
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 :)

Master53 12-28-2009 14:31

Re: [RP] killing player when a value hits 100
 
yes my script is abit like this. but it has more stuff in it. and thanks


All times are GMT -4. The time now is 18:53.

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