01.01.2013, 11:45
Hello.
Next time please place your code into [.pawn][./pawn] tags (without dots '.').
First at all, you must declare 'Pickup' array size. For your code, you should paste this:
instead of
2nd thing.
instead of
Why you're forwarding something for variable, not for public, eh?
You've done this script very chaotically.
Next thing:
Forget closing } at the very end??
That should be all.
Greetz,
LetsOWN
Next time please place your code into [.pawn][./pawn] tags (without dots '.').
First at all, you must declare 'Pickup' array size. For your code, you should paste this:
pawn Код:
new Pickup[1];
pawn Код:
new Pickup[];
pawn Код:
forward Pickupop;
pawn Код:
forward Pickup;
You've done this script very chaotically.
Next thing:
pawn Код:
public Dialog_BuyRepaired(playerid, response, listitem);
{
if(pickupid == pickups[0][mrepair])
{
if(GetPlayerMoneyA(playerid) < 500)
{
SendClientMessage(playerid,0xD9E916FF,"* Jбrműved megjavнtva (500$)) !");
return 1;
}
new vehicleid = GetPlayerVehicleID(playerid);
SetVehicleHealth(vehicleid,1000.0);
return 1;
}
}
That should be all.
Greetz,
LetsOWN