checkpoint enter
#1

im using Incognito streamer and made checkpoints


Код:
	CreateDynamicCP(1524.2124, -1694.8369, 13.5468, 1.0, 0, 0, 0,100.0);//checkpoint 1
 	CreateDynamicCP(1524.2461, -1674.1271, 13.5468, 1.0, 0, 0, 0,100.0);//checkpoint 2
but where would i make it so when you enter these checkpoints its says text is it like


Код:
If(thecp == 1)
{
//blah
}
?


thanks and heres the enter code
Код:
public OnPlayerEnterDynamicCP(playerid, checkpointid)
{
	return 1;
}
Reply
#2

mycp1 = CreateDynamicCP(1524.2124, -1694.8369, 13.5468, 1.0, 0, 0, 0,100.0);//checkpoint 1
mycp2 = CreateDynamicCP(1524.2461, -1674.1271, 13.5468, 1.0, 0, 0, 0,100.0);//checkpoint 2

if(checkpointid == mycp1)
{
//do something
}

ECT...

Peace...
Reply
#3

Quote:
Originally Posted by Stigg
Посмотреть сообщение
mycp1 = CreateDynamicCP(1524.2124, -1694.8369, 13.5468, 1.0, 0, 0, 0,100.0);//checkpoint 1
mycp2 = CreateDynamicCP(1524.2461, -1674.1271, 13.5468, 1.0, 0, 0, 0,100.0);//checkpoint 2

if(checkpointid == mycp1)
{
//do something
}

ECT...

Peace...
thanks works <3
Reply
#4

No prob's m8.

Peace...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)