[FIXED] ProxDetector - 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: [FIXED] ProxDetector (
/showthread.php?tid=75050)
[FIXED] ProxDetector -
ArTisT - 28.04.2009
Problem Fixed
Re: [HELP] ProxDetector -
aspire5630 - 28.04.2009
Use this,
Код:
if (strcmp("/kill", cmdtext, true, 10) == 0)
{
new string[50];
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,18);
format(string, sizeof(string), "[%s]: Has Put A Gun To HIS/HER Head, And Pulled The Trigger! ",name);
SendClientMessageToAll(0xB4B5B7FF,string);
SetPlayerInterior(playerid, 0);
return 1;
Re: [HELP] ProxDetector -
ArTisT - 28.04.2009
ohh i already fixed it for 5 mins

Thanks for your reply and help
Re: [HELP] ProxDetector -
Flo_White - 28.04.2009
you need
Код:
new sendername[MAX_PLAYER_NAME];
and
Код:
GetPlayerName(playerid,sendername,sizeof(sendername));
Ђdit: oh already fixed
Re: [HELP] ProxDetector -
aspire5630 - 28.04.2009
Quote:
Originally Posted by ArTisT
ohh i already fixed it for 5 mins  Thanks for your reply and help
|
Alrgiht, :P