31.03.2012, 05:55
ZCMD.
Put this at the top of your script under #include a_samp
Make sure you download ZCMD here https://sampforum.blast.hk/showthread.php?tid=91354
Put this at the top of your script under #include a_samp
pawn Код:
#include <zcmd>
pawn Код:
CMD:work(playerid, params[])
{
PlayerChecPoint[playerid] = 1;//this will help us OnPlayerEnterChecpoint , you will see
SetPlayerCheckpoint(playerid,595.3140,875.2714,-43.3098,5.0);
//parameters are (idofplayer,PositionX,positionY,positionZ,sazeof checkponit);
return 1;
}
CMD:work1(playerid, params[])
{
PlayerChecPoint[playerid] = 2;//this will help us OnPlayerEnterChecpoint , you will see
SetPlayerCheckpoint(playerid,594.3141,875.2714,-43.3098,5.0);
//parameters are (idofplayer,PositionX,positionY,positionZ,sazeof checkponit);
return 1;
}