OnPlayerDeath problem
#5

Quote:
Originally Posted by KizZweLL
Посмотреть сообщение
PHP код:
format(gStringsizeof(gString), "{FF0000}[Zombie Event]: {A9C4E4}%s {FFFFFF}got killed by {A9C4E4}%s {FFFFFF}role: Zombie"GetName(playerid), GetPlayerName(killerid));
SendZmMessage(gString, -1); 
Or

PHP код:
new KillerName[MAX_PLAYER_NAME],gString[126];
GetPlayerName(killerid,KillerName,sizeof(KillerName));
format(gString,sizeof(gString),"{FF0000}[Zombie Event]: {A9C4E4}%s {FFFFFF}got killed by {A9C4E4}%s {FFFFFF}role: Zombie"GetName(playerid), KillerName);
SendClientMessageToAll(-1,gString); 
dosen't work .. now i am getting nothing like "You get killed by 'space' role: etc...

that 'space' is just an empty line
Reply


Messages In This Thread
OnPlayerDeath problem - by StR_MaRy - 19.06.2017, 20:07
Re: OnPlayerDeath problem - by JasonRiggs - 20.06.2017, 01:44
Re: OnPlayerDeath problem - by StR_MaRy - 20.06.2017, 09:36
Re: OnPlayerDeath problem - by KizZweLL - 20.06.2017, 13:57
Re: OnPlayerDeath problem - by StR_MaRy - 20.06.2017, 20:42
Re: OnPlayerDeath problem - by Threshold - 20.06.2017, 22:04
Re: OnPlayerDeath problem - by StR_MaRy - 20.06.2017, 22:27
Re: OnPlayerDeath problem - by Pizzy - 20.06.2017, 22:43
Re: OnPlayerDeath problem - by StR_MaRy - 20.06.2017, 23:04

Forum Jump:


Users browsing this thread: 1 Guest(s)