Not Work !
#1


Код:
if(Aduty[playerid] == 1)
	{
		new string[180];
		format(string, sizeof(string),"{FF00FF}[Admin]{FFFFFF} %s:%s",GetPlayerNameEx(playerid), string);
		ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
	}
i put in onplayertext the problem is in the picture some one can fix ?
Reply
#2

https://sampwiki.blast.hk/wiki/OnPlayerText

Returning 0 at the end of the callback will prevent the default chat from showing.
Reply
#3

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
https://sampwiki.blast.hk/wiki/OnPlayerText

Returning 0 at the end of the callback will prevent the default chat from showing.
now have this error it's not show character

Reply
#4

You didn't mention it, you told us to look at the picture but that was another problem anyway.

Use text instead string after GetPlayerNameEx function (in format).
Reply
#5

any one
Reply
#6

PHP код:
if(Aduty[playerid] == 1)
    {
        
format(stringsizeof(string),"{FF00FF}[Admin]{FFFFFF} %s:%s"GetPlayerNameEx(playerid), text);
        
ProxDetector(20.0playeridstring,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
    } 
By @Konstantinos
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)