19.07.2012, 17:45
Hi!
I made my first dialog I haven't script for a while, so maybe the error can come
from that..
Hmmm maybe I know the problem but not sure!...
I made my first dialog I haven't script for a while, so maybe the error can come
from that..
pawn Код:
//#define FILTERSCRIPT
#include <a_samp>
#AmmoS
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
AmmoS=CreatePickup(1247,1,-2628.5171,1402.0135,7.0938,0); //pickup
}
OnPlayerPickupPickup(0,0)if(pickup==AmmoS)showPlayerDialog(0,0_weapons,DIALOG_STYLE_LIST, "Weapons","AK47\n Sniper", "buy", "channel");
{
public onDialogResponse(playerid,dialog,response,listitem
}
public OnFilterScriptExit()
{
return 1;
}
#else
#endif
Код:
C:\Users\Davve\Desktop\Ammo Shop.pwn(6) : error 031: unknown directive Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.