PDA

View Full Version : OnPlayerPickUpPickup dialog problem


doreto
29/08/2011, 10:00 AM
PROBLEM FIXED

doreto
29/08/2011, 10:15 AM
anyideas ?

WoodPecker
29/08/2011, 10:28 AM
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
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;
}

doreto
29/08/2011, 10:33 AM
hmm dont response again lol

WoodPecker
29/08/2011, 10:49 AM
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?

doreto
29/08/2011, 10:51 AM
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

WoodPecker
29/08/2011, 10:58 AM
Try the dialog with command i mean remove the pickup and add an command like /test and try it.

doreto
29/08/2011, 11:21 AM
hah idk how but if fixed its WORKING now :D