How to make CP for ammu...
#1

I want to make CP for buying guns from ammu - nation also enter/exit

Does this works??

#include <streamer>

new CP_AmmuEnt;
new CP_AmmuExit;

Downside the GameModeInIt();

new CP_AmmuEnt = CreateCheckpoint(size, co-ordinates);
new CP_AmmuExit = CreateCheckpoint(sizeof, co-ordinates);

after that,

Downside the OnPlayerEnterCheckpoint

if(IsPlayerInRangeOfPoint(playerid, co-ordinates of ammu entering))
{
SetPlayerPos(playerid, co-ordinates of entering ammu);
}

then

if(IsPlayerInRangeOfPoint(playerid, co-ordinates of ammu exiting))
{
SetPlayerPos(playerid, co-ordinates of exiting ammu);
}

This works??

And i want to know that how to make checkpoint for buying too , guns!


__________________________________________________ _________________________
T H A N K S
__________________________________________________ _________________________
Reply


Messages In This Thread
How to make CP for ammu... - by Jithu - 01.03.2018, 02:52
Re: How to make CP for ammu... - by Jithu - 01.03.2018, 05:34
Re: How to make CP for ammu... - by PepsiCola23 - 01.03.2018, 08:57

Forum Jump:


Users browsing this thread: 1 Guest(s)