08.06.2013, 08:52
(
Последний раз редактировалось Fernado Samuel; 04.10.2013 в 17:11.
)
Removed
Is this the problem? This is from OnPlayerPickUp callback
pawn Код:
|
new propid = -1;
new ID = IsPlayerNearProperty(playerid);
for(new id; id<MAX_PROPERTIES; id++)
{
if(PropInfo[id][PickupNr] == 0)
{
propid = id;
break;
}
}
if(propid != -1)
{
new str[128];
format(str, 128, "~y~\"%s\"~n~~y~Price: ~w~$%d~n~~y~Profit: ~w~$%d~n~~y~Owner: ~w~%s~n~~y~Prop ID: ~w~%d", PropInfo[propid][PropName], PropInfo[propid][PropValue], PropInfo[propid][PropEarning], PropInfo[propid][PropOwner], ID);
GameTextForPlayer(playerid, str, 6000, 3);
}