13.01.2013, 11:18
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;
}