Does not match definition
#1

pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
    new pname;
  pname = GetPlayerName(playerid);
  SendClientMessageToAll(COLOR_RED,"%s left the fun",pname);
    return 1;
}
gives me tons of errors, i haven't scripted in a few months.
Also these:
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
  SendClientMessageToAll(COLOR_ORANGE,"%s killed %s", killerid, playerid);
  SpawnPlayer(playerid);
    return 1;
}
same errors
Reply
#2

Learn how to use GetPlayerName-function,
and learn how to format messages before you send them with SA:MP message functions.
Reply
#3

Quote:
Originally Posted by Don Correlli
Learn how to use GetPlayerName-function,
and learn how to format messages before you send them with SA:MP message functions.
omfg , thanks man (like i said, i haven't scripted in a loong time).
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)