Pawn compile errors
#10

pawn Код:
#include <a_samp>
#include <zcmd>

new mypickup;

public OnGameModeInit()
{
mypickup = CreatePickup(1210,2, pos x,pos y,pos z, -1);
return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == mypickup)
    {
    SendClientMessage(playerid, -1, "text");
    SetPlayerCheckpoint(playerid, pos x,pos y,pos z, 3.0);
    }
    if(IsPlayerInCheckpoint(playerid))
    {
    GivePlayerMoney(playerid, 100);
    }
    else
    {
    SendClientMessage(playerid, -1 , "text");
    return 1;
    }
    return 1;
    }
Reply


Messages In This Thread
Pawn compile errors - by selmas - 25.07.2013, 08:45
Re: Pawn compile errors - by JimmyCh - 25.07.2013, 08:47
Re: Pawn compile errors - by selmas - 25.07.2013, 09:03
Re: Pawn compile errors - by JimmyCh - 25.07.2013, 09:04
Re: Pawn compile errors - by _Khaled_ - 25.07.2013, 09:04
Re: Pawn compile errors - by _Khaled_ - 25.07.2013, 09:06
Re: Pawn compile errors - by selmas - 25.07.2013, 09:11
Re: Pawn compile errors - by Vanter - 25.07.2013, 09:27
Re: Pawn compile errors - by selmas - 25.07.2013, 11:28
Re: Pawn compile errors - by ScRipTeRi - 25.07.2013, 13:25

Forum Jump:


Users browsing this thread: 1 Guest(s)