Need some help more - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Need some help more (
/showthread.php?tid=420483)
Need some help more -
ignas1125 - 05.03.2013
Hi again,i need help in another topic i need command now i need the textdraw or something like it
cmd:
Код:
command(setzm, playerid, params[])
{
if(IsPlayerAdmin(playerid))
{
new recid;
if(sscanf(params, "u", recid)) return SCM(playerid, -1, "USAGE : /setzm [player id/name]");
if(recid == INVALID_PLAYER_ID) return SCM(playerid, -1, "Invalid user id.");
ZombieSetup(recid);
SpawnPlayer(recid);
SCM(recid, -1, "You're a zombie!");
SetPlayerHealth(recid, 1000);
foreach(new i : Player)
{
if(recid != i)
{
HumanSetup(i);
SpawnPlayer(i);
SCM(i, -1, "You're a human!");
SetPlayerHealth(i, 100);
}
}
}
return 1;
}
when i jump or something i died fast but i hawe 1000 HP

i need help for that and i need the HP textdraw

100/1000 thx i thing u understand me.