SA-MP Forums Archive
check point help - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: check point help (/showthread.php?tid=261559)



check point help - Money_Man - 14.06.2011

ok guys and gals im havin some trouble getting this to work right for some reason. i be leave i have it right but everytime i go ingame to check it out it spawns me right back out side and i have to do debug to see again. any help would be greatful

Code:
if(checkpointid == cp_nsboys_in)// this is in home
{
SetPlayerInterior(playerid,10);
SendClientMessage(playerid,COLOR_YELLOW,"Welcome to the North Side Boys HQ");
SetPlayerPos(playerid,1188.2366,-959.2261,42.9011);
SetPlayerVirtualWorld(playerid,1);
}

if(checkpointid == cp_nsboys_out)// this is out side of home
{
SetPlayerInterior(playerid,0);
SendClientMessage(playerid,COLOR_YELLOW,"You have exited the North Side Boys HQ");
SetPlayerPos(playerid,1216.4661,-977.3808,43.4766);
SetPlayerVirtualWorld(playerid,0);
}



cp_nsboys_in = CreateDynamicCP(1188.1338,-958.6548,42.9011,2.0,-1, -1, -1, 10.0); // to go in
cp_nsboys_out = CreateDynamicCP(1216.3408,-975.9033,43.4766,2.0,1, 10, -1, 10.0); // to go out


Re: check point help - Cenation - 14.06.2011

Код:
new cp_nsboys_in;
new cp_nsboys_out;



Re: check point help - Money_Man - 14.06.2011

Quote:
Originally Posted by Cenation
Посмотреть сообщение
Код:
new cp_nsboys_in;
new cp_nsboys_out;
yeah i done that already. still having the same issue with it


Re: check point help - Cenation - 14.06.2011

errors? can u post?


Re: check point help - Money_Man - 14.06.2011

i don't get any errors it compiles great. its when i go in game it doesn't work. i go into the check point and boom nothing i have to debug to see again. i thought i may have the cords in wrong so i changed them around a few times and still have the same issue of not going in and having to debug to see


Re: check point help - Cenation - 14.06.2011

have u loaded Checkpoint Streamer Plugin?


Re: check point help - Money_Man - 14.06.2011

no stright into the gm. i have even waited. i looked threw the other check point and its set up right. so im lost when it comes to it


Re: check point help - Cenation - 14.06.2011

load ur streamer plugin...
in Server.cfg


Re: check point help - Money_Man - 14.06.2011

i lost my reg streamer pwn and i don't know where to get a new one at lol. but i do have one in there already working


Re: check point help - Money_Man - 14.06.2011

if you wouldl ike a first hand look at it here is my ip to the server. 64.120.76.235:7500. go to the buger shot in temple its cross the road from bugershot. theres alot of truck be hind the place