please help
#1

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
Reply
#2

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);
    }
Reply
#3

thank you i will try this now
Reply
#4

works great thank you
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)