Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // В начало мода
- static isInWorld[MAX_PLAYERS char];
- // Ко всем командам( CMD: )
- CMD:world(playerid, params[])
- {
- if(isInWorld{playerid}) {
- SetPlayerVirtualWorld(playerid, 0);
- isInWorld{playerid} = 0;
- return SendClientMessage(playerid, -1, !"Âû âûøëè èç âèðò. ìèðà!");
- }
- extract params -> new id; else
- return SendClientMessage(playerid, 0xAFAFAFFF, !"Èñïîëüçóéòå: /world [ID âèðò. ìèðà]");
- SetPlayerVirtualWorld(playerid, id);
- isInWorld{playerid} = 1;
- return SendClientMessage(playerid, -1, !"Âû âîøëè â âèðò. ìèð!");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement