Anti-Spawnkill Tag.
#1

Ok, I've tried this with ChatBubble and doesn't seem to work but 3D Text label worked out on my bot but the problem is I can't seem to delete after the spawnkill ends. I will post the code and hopefully someone will show me where do I make my Anti Spawnkill 3D Text in Red.

Top of my script
Код:
forward AntiSpawnkill(playerid);
#define PROTECTIONTIME 10
Ok then OnGameModeIn (OnPlayerSpawn)
Код:
SetPlayerHealth(playerid, 10000.0);
SendClientMessage(playerid, 0xFF0000AA, "You can't be killed for 5 second(s) (spawn protection)");
SetTimerEx("AntiSpawnkill",PROTECTIONTIME*1500,0,"d",playerid);
Bottom of my script
Код:
public AntiSpawnkill(playerid)
{
    SetPlayerHealth(playerid, 100.0);
    SendClientMessage(playerid, 0x00ff00ff, "Anti Spawn kill protection over.");
    return 1;
}
So where do I put it and just 2/3 inches about the players head. Like many /me commands thing..
Reply


Messages In This Thread
Anti-Spawnkill Tag. - by Sting. - 26.09.2013, 16:15
Re: Anti-Spawnkill Tag. - by Krakuski - 26.09.2013, 20:49
Re: Anti-Spawnkill Tag. - by iZN - 26.09.2013, 21:31
Re: Anti-Spawnkill Tag. - by Sting. - 28.09.2013, 09:30
Re: Anti-Spawnkill Tag. - by Patrick - 28.09.2013, 10:15
Re: Anti-Spawnkill Tag. - by Sting. - 28.09.2013, 15:37
Re: Anti-Spawnkill Tag. - by Patrick - 28.09.2013, 15:45
Re: Anti-Spawnkill Tag. - by Sting. - 29.09.2013, 12:52

Forum Jump:


Users browsing this thread: 1 Guest(s)