SA-MP Forums Archive
Little ask - 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: Little ask (/showthread.php?tid=228507)



Little ask - Dr.Ghost - 19.02.2011

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
        new Float:X,Float:Y,Float:Z;
        GetPlayerPos(playerid,X,Y,Z);
        CreatePickup(1550, 3,X+2,Y,Z);
        GivePlayerMoney(playerid,15080);
        CreatePickup(353, 3,X+4,Y,Z);
        GivePlayerWeapon(playerid,29,9999);
    CreatePickup(337, 3,X+5,Y,Z);
    GivePlayerWeapon(playerid,6,9999);
    return 1;
}
oh man. this is about on player died,then the pickup show when player killed and died at place when died like droped the : weapons/money.....when come back at the place where the player death, the pickup cant lost.still have.. if pickup,,, yes is lost... . when come back to the place the pickup is still available back.. how its work for only can be one pickup for one time then is not available again?
sorry for bad english.


Re: Little ask - maramizo - 19.02.2011

Can you repost in good english?


Re: Little ask - Dr.Ghost - 19.02.2011

sorry cant.im from malaysia. i just can little english