1
mIRC/pawn Scripting / Re: Who can give me anti-vehicle-kill script
« on: February 25, 2013, 03:40:36 pm »Write this in public OnPlayerDeath.
[pawn]if ( reason == 39 )
{
format( string, 128, "Auto-Kill:[ %s ] Reason:[ Vehicle-Kill ]", gPlayers[ killerid ] );
SendClientMessageToAll( COLOR_GREEN, string );
SetPlayerHealth( killerid , 0);
RemovePlayerFromVehicle( killerid );
}[/pawn]
Code: [Select]
F:\Program Files\GTA Vice City\My server\gamemodes\mode.pwn(102) : error 017: undefined symbol "strtok"
F:\Program Files\GTA Vice City\My server\gamemodes\mode.pwn(102) : error 033: array must be indexed (variable "tmp")
F:\Program Files\GTA Vice City\My server\gamemodes\mode.pwn(115) : error 017: undefined symbol "FindPlayerIDFromString"
F:\Program Files\GTA Vice City\My server\gamemodes\mode.pwn(133) : error 017: undefined symbol "strtok"
F:\Program Files\GTA Vice City\My server\gamemodes\mode.pwn(133) : error 033: array must be indexed (variable "tmp")
F:\Program Files\GTA Vice City\My server\gamemodes\mode.pwn(148) : error 017: undefined symbol "strtok"
F:\Program Files\GTA Vice City\My server\gamemodes\mode.pwn(148) : error 033: array must be indexed (variable "tmp")
F:\Program Files\GTA Vice City\My server\gamemodes\mode.pwn(163) : error 017: undefined symbol "strtok"
F:\Program Files\GTA Vice City\My server\gamemodes\mode.pwn(163) : error 033: array must be indexed (variable "tmp")
F:\Program Files\GTA Vice City\My server\gamemodes\mode.pwn(164) : error 017: undefined symbol "FindPlayerIDFromString"
F:\Program Files\GTA Vice City\My server\gamemodes\mode.pwn(189) : error 017: undefined symbol "strtok"
F:\Program Files\GTA Vice City\My server\gamemodes\mode.pwn(189) : error 033: array must be indexed (variable "tmp")
F:\Program Files\GTA Vice City\My server\gamemodes\mode.pwn(206) : error 017: undefined symbol "strtok"
F:\Program Files\GTA Vice City\My server\gamemodes\mode.pwn(206) : error 033: array must be indexed (variable "tmp")
F:\Program Files\GTA Vice City\My server\gamemodes\mode.pwn(210) : error 017: undefined symbol "FindPlayerIDFromString"
F:\Program Files\GTA Vice City\My server\gamemodes\mode.pwn(228) : error 017: undefined symbol "strtok"
F:\Program Files\GTA Vice City\My server\gamemodes\mode.pwn(228) : error 033: array must be indexed (variable "tmp")
F:\Program Files\GTA Vice City\My server\gamemodes\mode.pwn(241) : error 017: undefined symbol "strtok"
F:\Program Files\GTA Vice City\My server\gamemodes\mode.pwn(241) : error 033: array must be indexed (variable "tmp")
F:\Program Files\GTA Vice City\My server\gamemodes\mode.pwn(254) : error 017: undefined symbol "strtok"
F:\Program Files\GTA Vice City\My server\gamemodes\mode.pwn(254) : error 033: array must be indexed (variable "tmp")
F:\Program Files\GTA Vice City\My server\gamemodes\mode.pwn(267) : error 017: undefined symbol "strtok"
F:\Program Files\GTA Vice City\My server\gamemodes\mode.pwn(267) : error 033: array must be indexed (variable "tmp")
F:\Program Files\GTA Vice City\My server\gamemodes\mode.pwn(277) : error 017: undefined symbol "strtok"
Compilation aborted.Pawn compiler 3.0.3367 Copyright (c) 1997-2005, ITB CompuPhase
26 Errors.