SA-MP Forums Archive
AddStaticPickup [Bug?] - 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)
+--- Thread: AddStaticPickup [Bug?] (/showthread.php?tid=363426)



AddStaticPickup [Bug?] - kbalor - 27.07.2012

So after I pick up Armor or Health..

This is the result..
" target="_blank">


Re: AddStaticPickup [Bug?] - The__ - 27.07.2012

OnPlayerPickUp please ?


Re: AddStaticPickup [Bug?] - kbalor - 27.07.2012

I just found...

pawn Код:
SetPlayerCameraPos(playerid, -2453.5051,-117.5298,26.1219);
    SetPlayerCameraLookAt(playerid, -2448.3794,-122.6430,26.1381);
    new veh = GetPlayerVehicleID(playerid);
    SetVehiclePos(veh, -2448.3794,-122.6430,26.1381);
    SetVehicleZAngle(veh, 274.8242);
    LinkVehicleToInterior(veh, 0);
    SetVehicleVirtualWorld(veh, 0);
    PutPlayerInVehicle(playerid, veh, 0);
    PlayerPlaySound(playerid, 1133, 0.0, 0.0, 10.0);



Re: AddStaticPickup [Bug?] - Aprezt - 27.07.2012

Delete it and just set these functions SetPlayerHealth(playerid, 100); and Armor SetPlayerArmor(playerid, 100);


Re: AddStaticPickup [Bug?] - kbalor - 27.07.2012

Quote:
Originally Posted by Aprezt
Посмотреть сообщение
Delete it and just set these functions SetPlayerHealth(playerid, 100); and Armor SetPlayerArmor(playerid, 100);
thanks+ rep both. Man can you help me with this problem? After I spawn the Registration Dialog always popping up. And I know that I have already an account. Btw, Im using luxadmin.


Re: AddStaticPickup [Bug?] - The__ - 03.08.2012

Depends where the showplayerdialog function executes.