Possible to make stock of GetPlayerText?
#1

it's possible?
if not...
PHP код:
public OnPlayerText(playeridtext[])
{
    new 
Text[144];
    
format(String,sizeof(String),"%s says: %s",GetName(playerid),Text);
    
SendClientMessage(playerid,-1,String);
    return 
1;

why it's not typing the second %s? (text)...
Reply
#2

Do it like this
pawn Код:
public OnPlayerText(playerid, text[])
{
    format(String,sizeof(String),"%s says: %s",GetName(playerid),text);
    SendClientMessage(playerid,-1,String);
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)