Help Me in Script GameText +Rep
#2

in the command to kidnap, do the following:

pawn Код:
new string[128], name[MAX_PLAYER_NAME];

GetPlayerName(otherplayer, name, sizeof(name)); //replace otherplayer with whatever the target id is called
format(string, sizeof(string), "You kidnapped %s", name);
GameTextForPlayer(playerid, string, 5000, 2);
Reply


Messages In This Thread
Help Me in Script GameText +Rep - by astanalol - 24.04.2015, 03:37
Re: Help Me in Script GameText +Rep - by TakeiT - 24.04.2015, 03:45
Re: Help Me in Script GameText +Rep - by Shaktimaan - 24.04.2015, 04:05
Re: Help Me in Script GameText +Rep - by astanalol - 24.04.2015, 04:07
Re: Help Me in Script GameText +Rep - by Shaktimaan - 24.04.2015, 04:21
Re: Help Me in Script GameText +Rep - by astanalol - 24.04.2015, 04:23
Re: Help Me in Script GameText +Rep - by Nirzor - 24.04.2015, 04:26
Re: Help Me in Script GameText +Rep - by Shaktimaan - 24.04.2015, 04:35
Re: Help Me in Script GameText +Rep - by astanalol - 24.04.2015, 04:45

Forum Jump:


Users browsing this thread: 1 Guest(s)