29.07.2010, 09:09
pawn Код:
public OnPlayerInteriorChange(playerid,newinteriorid,oldinteriorid)
{
if(oldinteriorid==/*Shop one*/)
{
if(GetPlayerVirtualWorld(playerid)==/*Your World*/)
{
//Do whatever you want here
}
if(GetPlayerVirtualWorld(playerid)==/*Your other World*/)
{
//Do whatever you want here
}
}
return 1;
}
Greetz,
Jeffry