24.05.2016, 08:58
PHP код:
CMD:hideall(playerid){
Streamer_SetVisibleItems(STREAMER_TYPE_OBJECT, 0, playerid);
Streamer_SetVisibleItems(STREAMER_TYPE_PICKUP, 0, playerid);
Streamer_SetVisibleItems(STREAMER_TYPE_MAP_ICON, 0, playerid);
Streamer_SetVisibleItems(STREAMER_TYPE_3D_TEXT_LABEL, 0, playerid);
SetPlayerVirtualWorld(playerid,playerid+20000);
return 1;
}
CMD:showall(playerid){
Streamer_SetVisibleItems(STREAMER_TYPE_OBJECT, 500, playerid);
Streamer_SetVisibleItems(STREAMER_TYPE_PICKUP, 4096, playerid);
Streamer_SetVisibleItems(STREAMER_TYPE_MAP_ICON, 100, playerid);
Streamer_SetVisibleItems(STREAMER_TYPE_3D_TEXT_LABEL, 1024, playerid);
SetPlayerVirtualWorld(playerid,0);
return 1;
}