Spy Error Onplayerdialog
#5

pawn Код:
// There was a bracket here, it's gone now
    if(dialogid == SPYKIT)
    {
       if(respose)//enter or pressing Disguise
         {
         if(listitem == 0)
            {
         SentClientMessage(playerid, COLOR_GREY, "[SERVER] {FFFFFF} Successfully Disguised as Team USA");
         SetPlayerSkin(playerid, 287);
         SetPlayerColor(playerid, COLOR_LIGHTBLUE)
             }
             return 1;
           }
     }
//There was a return and a unneeded bracket here, they're gone too now
And as BigETI said, please, for the love of pawn, indent your code!
Reply


Messages In This Thread
Spy Error Onplayerdialog - by FireWarrior101 - 02.08.2013, 12:01
Re: Spy Error Onplayerdialog - by FireWarrior101 - 02.08.2013, 12:37
AW: Spy Error Onplayerdialog - by BigETI - 02.08.2013, 12:51
Re: Spy Error Onplayerdialog - by RedJohn - 02.08.2013, 12:57
Re: Spy Error Onplayerdialog - by Jstylezzz - 02.08.2013, 13:14
Re: Spy Error Onplayerdialog - by FireWarrior101 - 02.08.2013, 13:21

Forum Jump:


Users browsing this thread: 1 Guest(s)