Server not showing Checkpoints
#1

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;
}
Reply
#2

Use Streamer plugin !
Reply
#3

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.
Reply
#4

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

Tried that too but still not working.
Reply
#6

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)