SA-MP Forums Archive
Server not showing Checkpoints - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Server not showing Checkpoints (/showthread.php?tid=477966)



Server not showing Checkpoints - coool - 27.11.2013

Guys i am making my first gamemode its zombies but i have little problem
i want that server appear cp after every 3 minutes
There are total 8 checkpoints
anything wrong that's why server not showing cp
Suggest me only.
Код:
forward kp1(playerid);

new cp1;

public OnPlayerEnterCheckpoint(playerid)
{

	if(IsPlayerInDynamicCP(playerid, cp1))
	{
		
		SetTimerEx("kp1", 20000, false,"i",playerid);
	}
        return 1;
}


public kp1(playerid)
{

    GiveScore(playerid, 3);
	DestroyDynamicCP(cp1);
}

public OnGameModeInit()
{
        foreach(Player, playerid)
	{
	    SetTimerEx("av", 180000, true, "i", playerid);
	}
	SetWeather(9);
	SetWorldTime(0);
	return 1;
}

public av(playerid)
{
	U[playerid][w]++;
	if(U[playerid][w] == 1)
	{
			U[playerid][w]++;
	        SendClientMessageToAll(-1, "Humans go to the checkpoint");
	        if(pInfo[playerid][pHuman])
	        {
   				cp1 = CreateDynamicCP(1090, 1074, 11, 8, -1, -1, -1, 100000);
			}
	}
        return 1;
}



Re: Server not showing Checkpoints - iAnonymous - 27.11.2013

Use Streamer plugin !


Re: Server not showing Checkpoints - Konstantinos - 27.11.2013

pawn Код:
cp1 = CreateDynamicCP(1090, 1074, 11, 8, -1, -1, -1, 100000);
The first three parameters are floats. Let's say about the z height: 11.0000 is not the same as 11.9999 which is about a meter up and it won't be shown (it'll be under the ground). Use the correct coordinates for the checkpoint.

Quote:
Originally Posted by iAnonymous
Посмотреть сообщение
Use Streamer plugin !
He does.


Re: Server not showing Checkpoints - coool - 27.11.2013

Ok thanks you mean it show cp but under ground so i make it perfect
+Rep


Re: Server not showing Checkpoints - coool - 27.11.2013

Tried that too but still not working.


Re: Server not showing Checkpoints - coool - 28.11.2013

please help me or add me on skype for teamviewer.
Skype:arsalan.nizamani1


Re: Server not showing Checkpoints - coool - 28.11.2013

Guys help me.
Why sa-mp players not help and why they made Server Support board no one helping.