[Ajuda] Checkpoint dando erro
#1

pawn Код:
C:\Documents and Settings\Vini\Desktop\Servidor SAMP RPG\gamemodes\gm.pwn(75) : error 017: undefined symbol "CPS_AddCheckpoint"
C:\Documents and Settings\Vini\Desktop\Servidor SAMP RPG\gamemodes\gm.pwn(217) : warning 213: tag mismatch
C:\Documents and Settings\Vini\Desktop\Servidor SAMP RPG\gamemodes\gm.pwn(224) : warning 213: tag mismatch
C:\Documents and Settings\Vini\Desktop\Servidor SAMP RPG\gamemodes\gm.pwn(234) : error 017: undefined symbol "CPS_GetPlayerCheckpoint"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.

linha 75
pawn Код:
CPAgenciaLS = CPS_AddCheckpoint(2309.7463, -8.3165, 26.7422, 2.0, 50);
215 atй a 234
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == EntrarAgenciaLS)
    {
        if(!IsPlayerInRangeOfPoint(1.0, playerid, 1219.1713, -1811.9921, 16.5938))
        SetPlayerPos(playerid, 2308.2300, -15.3486, 26.7496);
        SetPlayerInterior(playerid, 0);
        return 1;
    }
    if(pickupid == SairAgenciaLS)
    {
        if(!IsPlayerInRangeOfPoint(1.0, playerid, 2305.2598, -16.0983, 26.7422))
        SetPlayerPos(playerid, 1219.0945, -1813.6973, 16.5938);
        SetPlayerInterior(playerid, 0);
        return 1;
    }
    return 1;
}

public OnPlayerEnterCheckpoint(playerid)
{
    new checknome = CPS_GetPlayerCheckpoint(playerid);
    if(checknome == CPAgenciaLS)
    {
        SendClientMessage(playerid, COR_VERDECLARO, "~~~~~~~~~~~~~~~ Agкncia de Empregos ~~~~~~~~~~~~~~~");
        SendClientMessage(playerid, -1, "Para escolher um emprego digite /Profs");
        SendClientMessage(playerid, COR_VERDECLARO, "~~~~~~~~~~~~~~~ Agкncia de Empregos ~~~~~~~~~~~~~~~");
        PlayerPlaySound(playerid, 1138, 0.0, 0.0, 0.0);
        return 1;
    }
    return 1;
}
Fiz tudo certinho n sei pq ta dando erro
Reply
#2

topo do GM:
new CPS_AddCheckpoint;
Reply
#3

Cara, vocк estб tentando me ajudar? Isso dai nгo vai adiantar nada, eu ja coloquei nй antes de vir aqui.
Reply
#4

add a include
pawn Код:
#include <cpstream>
Reply
#5

PQP Tinha esquecido disso, valeu !
Reply
#6

Cadк a Definiзгo de CPS_AddCheckpoint e CPS_GetPlayerCheckpoint
Reply
#7

Quote:
Originally Posted by eNtinityGaming
Посмотреть сообщение
PQP Tinha esquecido disso, valeu !
vlw nada, 50 reais.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)