SA-MP Forums Archive
please help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: please help (/showthread.php?tid=164374)



please help - Lookin - 31.07.2010

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


Re: please help - Kar - 31.07.2010

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);
    }



Re: please help - Lookin - 02.08.2010

thank you i will try this now


Re: please help - Lookin - 11.08.2010

works great thank you