Quote:
Originally Posted by Joron
PHP код:
TestCP = CreateDynamicCP(0.0, 0.0, 10.0, 3.0);
public OnPlayerEnterDynamicCP(playerid, checkpointid)
{
if(checkpointid == TestCP)
{
//Code
SendClientMessage(playerid, COLOR_WHITE, "You have entered TestCP.");
}
}
public OnPlayerExitDynamicCP(playerid, checkpointid)
{
if(checkpointid == TestCP)
{
//Code
SendClientMessage(playerid, COLOR_WHITE, "You have exited TestCP.");
}
}
Best You Use dynamiccp
|
now what may have bugs in my code now at