SA-MP Forums Archive
Some help ! - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Some help ! (/showthread.php?tid=204410)



Some help ! - doreto - 29.12.2010

can someone tell me how to make Pickups ?


Re: Some help ! - doreto - 29.12.2010

?


Re: Some help ! - [WF]Demon - 29.12.2010

https://sampwiki.blast.hk/wiki/CreatePickup

The Wiki is always the best chose b4 posting.....


Re: Some help ! - doreto - 29.12.2010

Quote:
Originally Posted by Crodox RP
Посмотреть сообщение
https://sampwiki.blast.hk/wiki/CreatePickup

The Wiki is always the best chose b4 posting.....
ty and i wont ot make wich ShowPlayerDialog,DIALOG_STYLE_LIST can you give me example ?


Re: Some help ! - doreto - 30.12.2010

?


Re: Some help ! - Larsey123IsMe - 30.12.2010

https://sampwiki.blast.hk/wiki/How_to_Create_a_Dialog

....


Re: Some help ! - Kitten - 30.12.2010

Can you search i know they showed you up there but this can help a bit more
https://sampforum.blast.hk/showthread.php?tid=155067


Re: Some help ! - doreto - 30.12.2010

lol now is say me
Quote:

C:\Users\Fujitsu\AppData\Local\Microsoft\Windows\T emporary Internet Files\Low\Content.IE5\76RLVTP9\FSteleport[1].pwn(19) : warning 213: tag mismatch
C:\Users\Fujitsu\AppData\Local\Microsoft\Windows\T emporary Internet Files\Low\Content.IE5\76RLVTP9\FSteleport[1].pwn(19) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Warnings.




Re: Some help ! - doreto - 30.12.2010

can someone help me make wich Pickups wich ShowPlayerDialog,DIALOG_STYLE_LIST pls give me example here are you cordinats -2032.0184,161.5640,29.0461,98.2400, i make this cordinats my ingame /save


Re: Some help ! - Haydz - 30.12.2010

Quote:
Originally Posted by doreto
Посмотреть сообщение
can someone help me make wich Pickups wich ShowPlayerDialog,DIALOG_STYLE_LIST pls give me example here are you cordinats -2032.0184,161.5640,29.0461,98.2400, i make this cordinats my ingame
/save
since you don't want to read the suggestions above i made this example.
pawn Код:
//top of script
new pickup;

//under OnGameModeInIt
pickup = CreatePickup(pickupobjectid, typeofpickupyouwant, -2032.0184 , 161.5640, 29.0461, 0)

public OnPlayerPickupPickup(playerid,pickupid)
{
        if(pickupid == pickup) ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,"MyDialog","1. Line\r\n2. Line\r\n3. Line","Option 1", "Option 2");
}
https://sampwiki.blast.hk/wiki/PickupTypes
https://sampwiki.blast.hk/wiki/OnPlayerPickUpPickup
https://sampwiki.blast.hk/wiki/ShowPlayerDialog