Checkpoint help
#1

pawn Код:
CMD:house(playerid, params[])
{
    if(pInfo[playerid][Admin]==3)
    {
        //new Float:x,Float:y,Float:z;
        //GetPlayerPos(playerid,x,y,z);
        //house = CreateDynamicCP(x,y,z,1,GetPlayerVirtualWorld(playerid),GetPlayerInterior(playerid),5);
    }
    return 1;
}

public OnPlayerEnterDynamicCP(playerid,checkpointid)
{
    if(checkpointid == house)
    {
        SendClientMessage(playerid,COLOR_GRAY,"/enter to enter house");
                // If player does command /enter?
    }
    return 1;
}
Reply


Messages In This Thread
Checkpoint help - by Noles2197 - 05.02.2013, 23:16
Re: Checkpoint help - by vIBIENNYx - 06.02.2013, 03:17
Re: Checkpoint help - by Noles2197 - 06.02.2013, 21:01

Forum Jump:


Users browsing this thread: 1 Guest(s)