new fbi[2];
new pickfbi[4];
if(pickupid == fbi[0]) //FBI 1
{
SetPlayerInterior(playerid, 4);
SetPlayerVirtualWorld(playerid, 2);
SetPlayerPos(playerid,286.1680,-83.9736,1001.5156);
SetPlayerFacingAngle(playerid,356.2);
}
if(pickupid == fbi[1]) //FBI 2
{
SetPlayerInterior(playerid, 0);
SetPlayerVirtualWorld(playerid, 0);
SetPlayerPos(playerid,942.4717,-1744.5734,13.5469);
SetPlayerFacingAngle(playerid, 274.31);
}
if(pickupid == pickfbi[0]) //FBI Skins
{
if(PlayerInfo[playerid][pMember] != 13)return 1;
ShowPlayerDialog(playerid,PREKRUTIE, DIALOG_STYLE_LIST, "{DB7095}Choose Skin!", "Groove Street\nThe Ballas\nLos Santos Vagos\nThe Rifa\nVarior Los Aztecas\nLa Cosa Nostra\nYakuza\nРусская Мафия\n - Change Back", "Done", "EXIT");
}
if(pickupid == pickfbi[2]) //tear FBI
{
SetPlayerInterior(playerid, 4);
SetPlayerVirtualWorld(playerid, 2);
SetPlayerPos(playerid,301.4785,-78.3682,1001.5156);
SetPlayerFacingAngle(playerid, 133.8311);
}
if(pickupid == pickfbi[3]) //tear FBI
{
SetPlayerInterior(playerid, 7);
SetPlayerVirtualWorld(playerid, 2);
SetPlayerPos(playerid,303.0892,-140.0957,1004.0625);
SetPlayerFacingAngle(playerid, 18.8311);
}
if(pickupid == pickfbi[1]) //FBI weps
{
if(PlayerInfo[playerid][pMember] != 13 && PlayerInfo[playerid][pMember] != 9)return 1;
ShowPlayerDialog(playerid,GUNLVPD, DIALOG_STYLE_LIST, "{fde910}FBI", "1. Baton\n2. Armour\n3. Desert Eagle\n4. Silenced 9mm\n5. MP5\n6. Shield\n7. Sniper", "Choose", "Exit");
}
fbi[0] = CreatePickup(19133,23,943.0108,-1742.5677,13.5546);//fbi вход
fbi[1] = CreatePickup(19133,23,285.8751,-86.7779,1001.5229);//fbi выход
pickfbi[0] = CreatePickup(1275,23,287.9043,-76.9199,1001.5156,2);//fbi skin
pickfbi[1] = CreatePickup(1239,23,294.3549,-83.6069,1001.5156);//fbi gun
pickfbi[2] = CreatePickup(1318,23,304.1519,-141.7657,1004.0625);//fbi tear
pickfbi[3] = CreatePickup(1318,23,301.5671,-76.5421,1001.5156);//fbi fbi tear
pickfbi[0] = CreatePickup(1275,23,287.9043,-76.9199,1001.5156,-1);//fbi skin pickfbi[1] = CreatePickup(1239,23,294.3549,-83.6069,1001.5156,-1);//fbi gun pickfbi[2] = CreatePickup(1318,23,304.1519,-141.7657,1004.0625,-1);//fbi tear pickfbi[3] = CreatePickup(1318,23,301.5671,-76.5421,1001.5156,-1);//fbi fbi tear
Try this
Код:
pickfbi[0] = CreatePickup(1275,23,287.9043,-76.9199,1001.5156,-1);//fbi skin pickfbi[1] = CreatePickup(1239,23,294.3549,-83.6069,1001.5156,-1);//fbi gun pickfbi[2] = CreatePickup(1318,23,304.1519,-141.7657,1004.0625,-1);//fbi tear pickfbi[3] = CreatePickup(1318,23,301.5671,-76.5421,1001.5156,-1);//fbi fbi tear |
There is no pickup type 23 according to the wiki
|