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
#2

please someone tell me >>~!!!
Reply
#3

I would use pickups for entrances and use OnPlayerPickUpPickup
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)