CreateDynamicCP - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: CreateDynamicCP (
/showthread.php?tid=525543)
CreateDynamicCP -
hossam22 - 12.07.2014
Hi When I'm Currently Making A Cops And Robbers Server
But When I Make The CreateDynamicCP It Does't Show Up In The Game
While When I Compile No Errors/Warnings Show Up.
I Included The Latest Streamer Plugin Also
Here Is The Code.
Quote:
Checkpoint[6] = CreateDynamicCP(361.8310,173.6317,1008.3828,3,-1,3,-1,100);//24-7 Robbery Place
public OnPlayerEnterDynamicCP(playerid, checkpointid)
{
if(checkpointid == Checkpoint[3])
{
SendClientMessage(playerid,COLOR_ORANGE,"Type /Robshop To Start A Robbery!");
}
if(checkpointid == Checkpoint[5])
{
SendClientMessage(playerid,COLOR_ORANGE,"Type /Robshop To Start A Robbery!");
}
return 1;
}
|
Re: CreateDynamicCP -
TwinkiDaBoss - 12.07.2014
You used interior world. You've set interior world to 3 instead of 0
pawn Code:
Checkpoint[6] = CreateDynamicCP(361.8310,173.6317,1008.3828,3,-1,0,-1,100);//24-7 Robbery Place