Vip Gun menu
#3

Thanks man , i can make only one case
how make another case ? when i try to make another case get some error ,
can u only make me 1 case for example
PHP код:
public OnDialogResponse(playeriddialogidresponselistiteminputtext[])
{
  new 
Float:XFloat:YFloat:Z;
  
GetPlayerPos(playeridXYZ);
  if(
dialogid == DIALOGCMDS)
  {
    switch(
listitem)
    {
       case 
0:
       {
            if(
PlayerInfo[playerid][pVIP] >= 1)
            {
            if(
GetPlayerMoney(playerid) >= 500)
            {
                
GivePlayerWeapon(playerid49999);
                
GivePlayerMoney(playerid, -500);
                
SendClientMessage(playeridBLUE"You have bought a Knife!");
            }
            else return 
SendClientMessage(playeridRED"[ERROR]: You don't have enough money to purchase this weapon!");
            }
         }
      }
   }
   return 
0;

Reply


Messages In This Thread
Vip Gun menu - by NimaKhan - 13.01.2014, 22:04
Re: Vip Gun menu - by Excelize - 13.01.2014, 23:11
Re: Vip Gun menu - by NimaKhan - 14.01.2014, 11:51
Re: Vip Gun menu - by NimaKhan - 14.01.2014, 17:27

Forum Jump:


Users browsing this thread: 1 Guest(s)