check point help
#1

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
Reply


Messages In This Thread
check point help - by Money_Man - 14.06.2011, 06:00
Re: check point help - by Cenation - 14.06.2011, 06:05
Re: check point help - by Money_Man - 14.06.2011, 06:13
Re: check point help - by Cenation - 14.06.2011, 06:17
Re: check point help - by Money_Man - 14.06.2011, 06:20
Re: check point help - by Cenation - 14.06.2011, 06:28
Re: check point help - by Money_Man - 14.06.2011, 06:31
Re: check point help - by Cenation - 14.06.2011, 06:33
Re: check point help - by Money_Man - 14.06.2011, 06:38
Re: check point help - by Money_Man - 14.06.2011, 06:41

Forum Jump:


Users browsing this thread: 3 Guest(s)