Don't know how to fix this D:
#1

Could someone please fix my attached script? I've tried and tried and just can't get it right. It's supposed to make a textdraw and countdown from 60 seconds on the textdraw, and then once 60 seconds are up, set the weather and kill anoyone that's not an npc, and then one minute after all that it's supposed to set the weather back to normal.
Reply
#2

Код:
if(!IsPlayerNPC(players))
	 	{
	  	SetPlayerHealth(players, 0);
		}
	}
	SetTimer("killlucasbag", 120000, false);
	return 1;
IsPlayerNPC, does it kills the NPC's? as i think this code kills the NPCs..
Reply
#3

That IsPlayerNPC has a ! infront of it (hopefully) meaning it won't kill npcs.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)