Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:lockhouse(playerid, params[]){
- if (!IsAdmin(playerid,LEVEL_ADMIN3) && NIEMAPERZY) return 0;
- new houseid;
- if (sscanf(params,"d",houseid))
- return Msg(playerid,COLOR_ERROR,"Uzyj: /lockhouse {b}id{/b}");
- if (FSDomy[houseid][ed_open]){
- FSDomy[houseid][ed_open]=false;
- Msg(playerid,COLOR_INFO,"Dom zamkniety");
- }
- else {
- FSDomy[houseid][ed_open]=true;
- Msg(playerid,COLOR_INFO,"Dom otwarty");
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment