25.01.2013, 08:38
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
for(new i; i < MAX_HOUSES; i++)
{
if(pickupid == housepickup[i])
{
new str[120];
format(str, sizeof(str),"You are standing on %s house",houseinfo[i][owner]);
printf("%s",houseinfo[i][owner]);
SendClientMessage(playerid,COLOR_GREEN,str);
}
}
return 1;
}