new pickupinfo1;
new pickupinfo2;
new pickupinfo3;
pickupinfo1 = CreatePickup(1239, 2, 4373.8232,-1123.0701,3.4842, 0);
pickupinfo2 = CreatePickup(1239, 2, 4373.7100,-1126.3080,3.4842, 0);
pickupinfo3 = CreatePickup(1239, 2, 4373.5962,-1129.5453,3.4842, 0);
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == pickupinfo1)
{
SendClientMessage(playerid,Gelb,"Text");
return 1;
}
if(pickupid == pickupinfo2)
{
SendClientMessage(playerid,Gelb,"Text");
return 1;
}
if(pickupid == pickupinfo3)
{
SendClientMessage(playerid,Gelb,"Text");
return 1;
}
return 1;
}
Wieso wird das im Spiel nicht angezeigt?