new flagRot;
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/start",cmdtext,true,5) == 0)
{
if (IsPlayerAdmin(playerid))
{
flagRot = CreatePickup(1254,1,-2046.8137,-105.3671,35.2114,-1);
}
}
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
if (pickupid == flagRot)
{
SendClientMessage(playerid,GREEN,"Rote Flagge");
}
Das PickUp wird erstellt, aber wenn man durchläuft passiert nix