Cops Refill system
#7

you need, a include of streamer for that so you can create a 1 checkpoint also because streamer checkpoint is the easiest way to make.
pawn Код:
#include <a_samp>
#include <streamer>

//Definition of CP so it wont give you undefine CP!
new CP;

public OnGameModeInit()
{
//if you know, how to make 1. it should easy to make more
CP = CreateDynamicCP(Float:x, Float:y, Float:z, Float:size, worldid = -1, interiorid = -1, playerid, Float:distance = 100.0);
return 1;
}

public OnPlayerEnterDynamicCP(playerid, checkpointid)
{
if(checkpointid == CP))
{
//Your dialog code here
}
return 1;
}
Reply


Messages In This Thread
Cops Refill system - by sscarface - 12.01.2013, 19:28
Re: Cops Refill system - by zJordioz - 12.01.2013, 19:41
Re: Cops Refill system - by Kyle - 13.01.2013, 10:37
Re: Cops Refill system - by sscarface - 13.01.2013, 11:00
Re: Cops Refill system - by CreativityLacker - 13.01.2013, 11:01
Re: Cops Refill system - by NicholasA - 13.01.2013, 11:02
Re: Cops Refill system - by Patrick - 13.01.2013, 11:18
Re: Cops Refill system - by LarzI - 13.01.2013, 12:33
Re: Cops Refill system - by Kyle - 14.01.2013, 09:24
Re: Cops Refill system - by Patrick - 18.01.2013, 17:50

Forum Jump:


Users browsing this thread: 1 Guest(s)