[pawn]#include <a_samp>
enum
{
NO_AKTIV,
AKTIV_CP1,
AKTIV_CP2
}
new IsAktivCP[MAX_PLAYERS];
IsAktivCP[playerid] = NO_AKTIV;
public OnPlayerSpawn(playerid)
{
SetPlayerCheckPoint(playerid,-166.9226,1150.5846,19.1777);
IsaktivCP[playerid] = AKTIV_CP1;
return 1;
}
public OnPlayerEnterCheckpoint(playerid)
{
switch(IsaktivCP[playerid])
{
case AKTIV_CP1: SendClientMessage(playerid,0x0000FFAA,\"blabla)\");
case AKTIV_CP2:SendClientMessage(playerid,0x0000FFAA,\"blabla\");
return 1;
}
[/pawn]
[pawn]C:\\Users\\endyke\\Downloads\\szerver\\filterscripts\\sweep.pwn(10) : error 010: invalid function or declaration
C:\\Users\\endyke\\Downloads\\szerver\\filterscripts\\sweep.pwn(14) : error 017: undefined symbol \"SetPlayerCheckPoint\"
C:\\Users\\endyke\\Downloads\\szerver\\filterscripts\\sweep.pwn(15) : error 017: undefined symbol \"IsaktivCP\"
C:\\Users\\endyke\\Downloads\\szerver\\filterscripts\\sweep.pwn(15) : warning 215: expression has no effect
C:\\Users\\endyke\\Downloads\\szerver\\filterscripts\\sweep.pwn(15) : error 001: expected token: \";\", but found \"]\"
C:\\Users\\endyke\\Downloads\\szerver\\filterscripts\\sweep.pwn(15) : error 029: invalid expression, assumed zero
C:\\Users\\endyke\\Downloads\\szerver\\filterscripts\\sweep.pwn(15) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
6 Errors.
[/pawn]
mi a baja???