SA-MP Forums Archive
OnPlayerPickUpPickup dialog problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: OnPlayerPickUpPickup dialog problem (/showthread.php?tid=279823)



OnPlayerPickUpPickup dialog problem - doreto - 29.08.2011

PROBLEM FIXED



Re: OnPlayerPickUpPickup dialog problem - doreto - 29.08.2011

anyideas ?


Re: OnPlayerPickUpPickup dialog problem - WoodPecker - 29.08.2011

PHP код:
public OnDialogResponse(playeriddialogidresponselistiteminputtext[])
{
    if(
dialogid == DIALOG_PICKUP)
    {
        if(
response)
        {
            case 
0:
              {
                
SendClientMessage(playerid,-1,"You have get 1000$");
                
GivePlayerMoney(playerid,1000);
            }
            case 
1:
            {
                
SendClientMessage(playerid,-1,"You have get weapon");
                
GivePlayerWeapon(playerid,25,100);
            }
        }
    }
    return 
1;




Re: OnPlayerPickUpPickup dialog problem - doreto - 29.08.2011

hmm dont response again lol


Re: OnPlayerPickUpPickup dialog problem - WoodPecker - 29.08.2011

Umm when you are in game and you are near the pickup, you can see the dialog? and when you choose something it wont work or?


Re: OnPlayerPickUpPickup dialog problem - doreto - 29.08.2011

when i go to pickup > showdialog and when i try to get option money dont give me anything if i go to second option and after 1-2 sec reset(move) to money option again and same like money weapon dont response im pressing but nothing happend oh i hate to dump


Re: OnPlayerPickUpPickup dialog problem - WoodPecker - 29.08.2011

Try the dialog with command i mean remove the pickup and add an command like /test and try it.


Re: OnPlayerPickUpPickup dialog problem - doreto - 29.08.2011

hah idk how but if fixed its WORKING now