Ok ive already started my new gamemode and i have things already in the OnPlayerConnect and OnPlayerDisconect and want to add the connect and leaving messages but everytime i try to and go to compile it itdoesnt work i get alot of errors and im doing it all right i got the connect message pwn code from wiki
pawn Код:
new string[64];
new playerName[24];
GetPlayerName(playerid, playerName, 24);
switch(reason)
{
case 0:
format(string, sizeof(string), "%s has left the server. (Timeout / Crash)", playerName);
case 1:
format(string, sizeof(string), "%s has left the server. (Leaving/Quit)", playerName);
case 2:
format(string, sizeof(string), "%s has left the server. (Kicked/Banned)", playerName);
}