help with checkpoint
#1

ok till now i had no probs with checkpoints but now i do. all my other checkpoints work but today i tried adding checkpoints to 24-7 shops in ls. they appear but they dont do any thing on stepping onto them :S .

Код:
Code:
new shop;
shop=CreateDynamicCP(-30.5400,-28.8732,1003.5573,1.0,-1,-1,-1,5);

public OnPlayerEnterDynamicCP(playerid,checkpointid)
{
	if(IsPlayerInDynamicCP(playerid, checkpointid))
		{
                SendClientMessage(playerid,red,"testing");
                }
        return 1;
}
i use the same way for all my other cps and they work!. idk whats wrong with this one :S.

all other cps are under IsPlayerInDynamicCP but i removed them to paste sthe code here =P
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)