[Help]How to Make minigame
#1

Can any one show me a script of minigame like /dm1 to enter and /leavedm to leave and any player can`t tele to any another teleport
Reply
#2

Example...
pawn Код:
new bool:ssdm[MAX_PLAYERS];

if(!strcmp(cmdtext,"/dm1", true))
{
    ssdm[playerid] = true;
    //SetPlayerPos(playerid, X, Y, Z); The pos X Y Z you want to teleport the player...
    return true;
}
if(!strcmp(cmdtext,"/leavedm", true))
{
    ssdm[playerid] = false;
    //SetPlayerPos(playerid, X, Y, Z); Pos X Y Z to exit minigame...
    return true;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)