Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include a_samp
- #include zcmd
- new rishabhgate;
- public OnFilterScriptInit() {
- rishabhgate = CreateObject(modelid, X, Y, Z, RotationX, RotationY, ROtationZ, 0);
- Create3DTextLabel("Welcome to Rishabh house",0xFF9900AA,1000, -1388.1999511719 , 15.1689997, 103.5, 0);
- }
- CMD:rishabhclose(playerid,params[]){
- MoveObject(rishabhgate, 1000, -1388.1999511719 , 15.1689997, 103.5);
- SendClientMessage(playerid,0xFFFF00AA, "Welcome to rishabh");
- return 1;
- }
- CMD:rishabhopen(playerid,params[]){
- MoveObject(rishabhgate, 1000, -1388.1999511719 , 15.1689997, 95.5);
- SendClientMessage(playerid,0xFFFF00AA, "Welcome To Rishabh's House");
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment