29.07.2010, 12:50
that if I visit a house /enter type that I will move to an interior
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp("/enter", cmdtext, true, 6) == 0)
{
SetPlayerPos(playerid, Float:X, Float:Y, Float:Z);
SetPlayerInterior(playerid, InteriorID);
return 1;
}
return 0;
}
Basically it's like this :
pawn Код:
If you want Interior ID resources with Pictures, please do refer here : http://weedarr.wikidot.com/interior |