Код HTML:
public OnPlayerPickUpDynamicPickup(playerid, pickupid)
{
new Grana = GetPlayerGrana(playerid);
if(pickupid == PickupsFix[1])
{
SetPlayerPos(playerid, 324.6059, 304.3401, 999.1484);
SetPlayerInterior(playerid, 5);
}
if(pickupid == PickupsFix[0])
{
SetPlayerPos(playerid, -212.6779, 979.6142, 19.3291);
SetPlayerInterior(playerid, 0);
}
if(pickupid == PickupsFix[55])
{
if(nobanco[playerid] == 1)
{
SetPlayerPos(playerid, 1413.7911, -1701.3040, 13.5394);
SetPlayerInterior(playerid, 0);
nobanco[playerid] = 0;
}
if(nobanco[playerid] == 2)
{
SetPlayerPos(playerid, 1153.9411, -1769.8316, 16.5937);
SetPlayerInterior(playerid, 0);
nobanco[playerid] = 0;
}
if(nobanco[playerid] == 3)
{
SetPlayerPos(playerid, -1882.9195, 824.4190, 35.1747);
SetPlayerInterior(playerid, 0);
nobanco[playerid] = 0;
}
if(nobanco[playerid] == 4)
{
SetPlayerPos(playerid, -2650.8605, 376.0171, 6.1095);
SetPlayerInterior(playerid, 0);
nobanco[playerid] = 0;
}
if(nobanco[playerid] == 5)
{
SetPlayerPos(playerid, 1933.2949, 1345.2982, 9.9687);
SetPlayerInterior(playerid, 0);
nobanco[playerid] = 0;
}
if(nobanco[playerid] == 6)
{
SetPlayerPos(playerid, 2180.2832, 2294.2443, 10.8203);
SetPlayerInterior(playerid, 0);
nobanco[playerid] = 0;
}
}
if(pickupid == PickupsFix[3])
{
SetPlayerPos(playerid, 1351.3582,-1756.5243,13.5078);
SetPlayerInterior(playerid, 0);
}
if(pickupid == PickupsFix[2])
{
SetPlayerPos(playerid, -33.5122, -89.9078, 1003.5469);
SetPlayerInterior(playerid, 18);
}
if(pickupid == PickupsFix[4])
{
SetPlayerPos(playerid, 513.8825,-11.2699,1001.5653);
SetPlayerInterior(playerid, 3);
}
if(pickupid == PickupsFix[5])
{
SetPlayerPos(playerid, 2154.8842,-1071.1025,39.2741);
SetPlayerInterior(playerid, 0);
}
if(pickupid == PickupsFix[8])
{
SetPlayerPos(playerid, 224.0249, -8.5593, 1002.2109);
SetPlayerInterior(playerid, 5);
}
if(pickupid == PickupsFix[11])
{
SetPlayerPos(playerid, 2022.4974, 1007.9083, 10.8203);
SetPlayerInterior(playerid, 0);
}
if(pickupid == PickupsFix[10])
{
SetPlayerPos(playerid, 2016.2699, 1017.7790, 996.8750);
SetPlayerInterior(playerid, 10);
}
if(pickupid == PickupsFix[49])
{
SetPlayerPos(playerid, 830.5774, 7.3999, 1004.1796);
SetPlayerInterior(playerid, 3);
nobanco[playerid] = 1;
}
if(pickupid == PickupsFix[50])
{
SetPlayerPos(playerid, 830.5774, 7.3999, 1004.1796);
SetPlayerInterior(playerid, 3);
nobanco[playerid] = 2;
}
if(pickupid == PickupsFix[51])
{
SetPlayerPos(playerid, 830.5774, 7.3999, 1004.1796);
SetPlayerInterior(playerid, 3);
nobanco[playerid] = 3;
}
if(pickupid == PickupsFix[52])
{
SetPlayerPos(playerid, 830.5774, 7.3999, 1004.1796);
SetPlayerInterior(playerid, 3);
nobanco[playerid] = 4;
}
if(pickupid == PickupsFix[53])
{
SetPlayerPos(playerid, 830.5774, 7.3999, 1004.1796);
SetPlayerInterior(playerid, 3);
nobanco[playerid] = 5;
}
if(pickupid == PickupsFix[54])
{
SetPlayerPos(playerid, 830.5774, 7.3999, 1004.1796);
SetPlayerInterior(playerid, 3);
nobanco[playerid] = 6;
}
if(pickupid == PickupsFix[14])
{
SetPlayerPos(playerid, 771.9539, -1.7038, 1000.7278);
SetPlayerInterior(playerid, 5);
}
if(pickupid == PickupsFix[15])
{
SetPlayerPos(playerid, -146.3821, 1078.9905, 20.3192);
SetPlayerInterior(playerid, 0);
}
ETC....