#1

me add.
PHP код:
if(newkeys KEY_ACTION)//dang sua
        
{
        if(
IsPlayerInRangeOfPoint(playerid3.0757.3734,5.7227,1000.7012) || IsPlayerInRangeOfPoint(playerid3.0758.43,-78.0,1000.65))
        {
        if(
PlayerInfo[playerid][pDonateRank] >= 1)
        {
            
ShowPlayerDialog(playeridFIGHTMENUDIALOG_STYLE_LIST"Vo thuat""Boxing        $40000\nElbow        $40000\nKneehead    $40000\nKung-Fu    $40000\nGrabKick    $40000\nNormal""Learn""huy bo");
        }
        else
        {
            
ShowPlayerDialog(playeridFIGHTMENUDIALOG_STYLE_LIST"Vo thuat""Boxing        $50000\nElbow        $50000\nKneehead    $50000\nKung-Fu    $50000\nGrabKick    $50000\nNormal""Learn""huy bo");
        } 
help me.
Reply
#2

Since you didn't describe your problem really well, i am guessing there are some errors since you're missing some {}'s

pawn Код:
if(newkeys & KEY_ACTION)//dang sua
{
    if(IsPlayerInRangeOfPoint(playerid, 3.0, 757.3734,5.7227,1000.7012) || IsPlayerInRangeOfPoint(playerid, 3.0, 758.43,-78.0,1000.65))
    {
        if(PlayerInfo[playerid][pDonateRank] >= 1)
        {
            ShowPlayerDialog(playerid, FIGHTMENU, DIALOG_STYLE_LIST, "Vo thuat", "Boxing        $40000\nElbow        $40000\nKneehead    $40000\nKung-Fu    $40000\nGrabKick    $40000\nNormal", "Learn", "huy bo");
        }
        else
        {
        ShowPlayerDialog(playerid, FIGHTMENU, DIALOG_STYLE_LIST, "Vo thuat", "Boxing        $50000\nElbow        $50000\nKneehead    $50000\nKung-Fu    $50000\nGrabKick    $50000\nNormal", "Learn", "huy bo");
       
        }  
    }
}
Reply
#3

thanks,
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)