C:\Users\kllerlakken\Desktop\LoRP\filterscripts\Cr ash.pwn(11) : error 021: symbol already defined: "GetPlayerName" C:\Users\kllerlakken\Desktop\LoRP\filterscripts\Cr ash.pwn(23) : error 017: undefined symbol "SetPlayerWorld" C:\Users\kllerlakken\Desktop\LoRP\filterscripts\Cr ash.pwn(25) : error 035: argument type mismatch (argument 2) C:\Users\kllerlakken\Desktop\LoRP\filterscripts\Cr ash.pwn(41) : error 017: undefined symbol "reason" C:\Users\kllerlakken\Desktop\LoRP\filterscripts\Cr ash.pwn(43) : error 002: only a single statement (or expression) can follow each "case" C:\Users\kllerlakken\Desktop\LoRP\filterscripts\Cr ash.pwn(43) : warning 215: expression has no effect C:\Users\kllerlakken\Desktop\LoRP\filterscripts\Cr ash.pwn(44) : error 014: invalid statement; not in switch C:\Users\kllerlakken\Desktop\LoRP\filterscripts\Cr ash.pwn(44) : warning 215: expression has no effect C:\Users\kllerlakken\Desktop\LoRP\filterscripts\Cr ash.pwn(44) : error 001: expected token: ";", but found ":" C:\Users\kllerlakken\Desktop\LoRP\filterscripts\Cr ash.pwn(44) : error 029: invalid expression, assumed zero C:\Users\kllerlakken\Desktop\LoRP\filterscripts\Cr ash.pwn(44) : fatal error 107: too many error messages on one line |
GetPlayerName(playerid, playername, MAX_PLAYER_NAME); // Gets the player name. SetPlayerWorld(playerid, dini_Int(file, "World")); SetPlayerColor(playerid, dini_Get(file, "Color")); switch(reason) case 0: PlayerCrashed(playerid); format(string, sizeof(string), "%s has left the server. (Crashed)", pname); case 1: PlayerLeft(playerid); |
GetPlayerName(playerid, playername, MAX_PLAYER_NAME); // Gets the player name.