Bei mir erscheint das Pickup aber ich kann es nicht aufnehmen ....
wanted1 = CreatePickup(1247, 3,1183.6760,-1253.3760,15.1797);
pickup2 = CreatePickup(1247, 3,154.1295,-1959.5322,3.7734);
pickup3 = CreatePickup(1247, 3,1972.4580,-1199.1281,17.3157);
pickup4 = CreatePickup(1247, 3,-1472.7292,154.0430,20.7109);
pickup5 = CreatePickup(1247, 3,1674.7286,1447.4641,14.9016);
pickup6 = CreatePickup(1247, 3,1751.3160,-1383.4370,15.0156);
new wanted1;
new pickup2;
new pickup3;
new pickup4;
new pickup5;
new pickup6;
und dann halt
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == wanted1)
{
WantedPoints[playerid]-=2;
}
if(pickupid == pickup2)
{
WantedPoints[playerid]-=2;
}
if(pickupid == pickup3)
{
WantedPoints[playerid]-=2;
}
if(pickupid == pickup4)
{
WantedPoints[playerid]-=2;
}
if(pickupid == pickup5)
{
WantedPoints[playerid]-=2;
}
if(pickupid == pickup6)
{
WantedPoints[playerid]-=2;
}
return 1;
}
Die erscheinen aba nichts passiert ...