All pastes #104651 Raw Edit

rammy

public text v1 · immutable
#104651 ·published 2006-07-29 02:28 UTC
rendered paste body
if(reason == 38 && !IsPlayerAdmin(killerid)) {
GetPlayerName(killerid, killer, sizeof(killer));
format(string, sizeof(string), "%s has banned for cheating.", killer);
SendClientMessageToAll(COLOR_RED, string);
      PutInJail(killerid);
  gJailed[killerid] = 1;
  		GameTextForAll("~r~A cheater has been sent to jail",3000,4);
}

i get the error

C:\GTA San Andreas\samp\gamemodes\src\InteriorMayhemX.pwn(662) : error 017: undefined symbol "killer"
C:\GTA San Andreas\samp\gamemodes\src\InteriorMayhemX.pwn(662) : error 017: undefined symbol "killer"
C:\GTA San Andreas\samp\gamemodes\src\InteriorMayhemX.pwn(662) : error 029: invalid expression, assumed zero
C:\GTA San Andreas\samp\gamemodes\src\InteriorMayhemX.pwn(662) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.0.3367			Copyright (c) 1997-2005, ITB CompuPhase


4 Errors.

the error is wat i pasted above!