I Need IDea For Interior House :(

Started by Mohamed Boubekri, Dec 27, 2017, 04:57 PM

Previous topic - Next topic

Mohamed Boubekri

Hello, i Have Made one Command /enter if you Are owner And if you Are got the pickup here it is:-
else if( cmd == "enterhouse" )       
{
local lp = lastPickupPickedUp[ player.ID ],
pos, plp, lpid;
if( !FindPickup( lp ) ) return pMSG( "Error - There is no property around.", player );
else
{
plp = FindPickup( lp );
lpid = plp.ID;
pos = plp.Pos;
if( !PlayerToPoint( player, 1, pos.x, pos.y, pos.z ) ) return pMSG( "Error - There is no property around.", player );
else if( prop[ lpid ].Owner != player.Name ) return pMSG( "Error - You don't own this property.", player );
else
{
player.Pos = Vector(plr.Pos.x - 2, plr.Pos.y, plr.Pos.z);
player.World = 50;
MessagePlayer("[#00FFFF]Done Your Are Entred To Your House", player );
}
}     
return 0;
}
But For Other House its Not Working.
I Need if player Local That pickup then + 5 For that pickup
I Need Any Idea For House Interior Help
| What now ? | Not yet ! |
Morrocan:- [ 🇲🇦 ].