only shows for id 0 not others?
#1

Solved
Reply
#2

I think Zcmd is better and it already has params so it will work for all ids not only id 0. I love zcmd
Reply
#3

pawn Код:
public OnPlayerEnterDynamicCP(playerid, checkpointid)
{
    if(zTeam[playerid] == HUMAN)
   {
         if(checkpointid == CP1[playerid])
        {
              ShowPlayerDialog(playerid,Dialog_Weaps,2,"Choose a Weapon","Uzi $2500\nAk47 $10000\nSawn-Off Shotgun $20000\nTec9 $3500\nSMG $20999\nCombat Shotgun $25000","Buy","Cancel");
        }
    }
    else if(zTeam[playerid] == ZOMBIE)
    {
         if(checkpointid == CP1[playerid])
        {
               SendClientMessage(playerid,red,"You Are not Allowed to buy weapons");
         }
    }
    return 1;
}
EDIT: Zack this is for a checkpoint, not a damn command.
Reply
#4

Quote:
Originally Posted by willsuckformoney
Посмотреть сообщение
EDIT: Zack this is for a checkpoint, not a damn command.
Nonono I mean I want a zcmd in a checkpoint. nonono i forgot i want zcheckpoint
Reply
#5

Solved
Reply
#6

I overlooked it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)