SA-MP Forums Archive
Owned text - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Owned text (/showthread.php?tid=229819)



Owned text - aqu - 22.02.2011

Hey,I want to make that when player killed other player,he will get messege on right side: Owned.

I was making like this:
Код:
// OnPlayerDeath:
   if (killerid) {
    format(string, sizeof(string), "~r~ Owned");
    GameTextForPlayer(playerid, string, 1000, 1);
    }
and:
Код:
    if (playerid) {
    format(string, sizeof(string), "~r~ Owned");
    GameTextForPlayer(playerid, string, 1000, 1);
    }
But not works,it shows owned who dies.


Re: Owned text - Mike Garber - 22.02.2011

remove the if(*) part and It should work.


Re: Owned text - iJumbo - 22.02.2011

pawn Код:
GameTextForPlayer(playerid,"Owned", 1000, 1);
GameTextForPlayer(killerid,"Owned", 1000, 1);
you need only this


Re: Owned text - aqu - 22.02.2011

Thanks